Fixed run-time classpath to include Scala.

Redid CommandHandler in Scala, and added permissions for each command.
Changed groupIDs to be more logical.
Added configs for other config files.
Refactored structure of config files (moved them out of server and ls folders respectively because they're already in a folder that denotes server/ls)
Cleared logs.
Deleted LS configs from server (they are completely unused there).
Moved configs to the config folder.
This commit is contained in:
CodeForFame 2011-06-24 17:18:51 -05:00
parent 990c5673a1
commit eac2ad9f88
131 changed files with 414 additions and 576 deletions

View File

@ -50,6 +50,7 @@
<pathelement location="${lib}/mysql-connector.jar" />
<pathelement location="${lib}/hex-string.jar" />
<pathelement location="${lib}/jmf.jar" />
<pathelement location="${lib}/mail.jar" />
<pathelement path="${java.class.path}/" />
</classpath>
</javac>
@ -78,6 +79,8 @@
<pathelement location="${lib}/slf4j.jar" />
<pathelement location="${lib}/xstream.jar" />
<pathelement location="${lib}/hex-string.jar" />
<pathelement location="${lib}/mail.jar" />
<pathelement location="${scala-library.jar}" />
<pathelement location="quests/" />
<pathelement path="${jar}/" />
</classpath>

View File

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB

View File

Before

Width:  |  Height:  |  Size: 8.4 KiB

After

Width:  |  Height:  |  Size: 8.4 KiB

View File

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB

View File

Before

Width:  |  Height:  |  Size: 8.9 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

View File

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB

View File

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB

View File

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB

View File

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

View File

Before

Width:  |  Height:  |  Size: 8.9 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

View File

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB

View File

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

View File

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

View File

Before

Width:  |  Height:  |  Size: 8.9 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

View File

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

View File

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB

View File

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB

View File

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

View File

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

View File

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

View File

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB

View File

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

View File

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

View File

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 9.4 KiB

View File

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

View File

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

View File

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB

View File

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

View File

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

View File

Before

Width:  |  Height:  |  Size: 8.9 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

View File

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

View File

Before

Width:  |  Height:  |  Size: 8.9 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

View File

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB

View File

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

View File

Before

Width:  |  Height:  |  Size: 8.9 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

View File

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB

View File

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

View File

@ -0,0 +1,62 @@
<command>
<!-- Dev Mode 11 - Admin 10 - Mod 7 - PMod 5 - Sub 2 - Norm 1 -->
<!-- Displays "A list of commands is shown on the forums." -->
<permission name="help">11</permission>
<!-- Displays the time at UTC -->
<permission name="time">11</permission>
<!-- Skulls the player for 20 minutes -->
<permission name="skull">11</permission>
<!-- Sets fatigue to 100% -->
<permission name="fatigue">11</permission>
<!-- Displays the online players -->
<permission name="online">5</permission>
<!-- Displays number of players and NPCs in view -->
<permission name="nearby">5</permission>
<!-- Displays number of players and NPCs in view -->
<permission name="inview">5</permission>
<!-- Teleports the player to the stuck location -->
<permission name="stuck">11</permission>
<!-- Requests the following: Location, Login data/time, Last moved, Chat
block status, fatigue, state -->
<permission name="info">7</permission>
<!-- Requests process info from client (scar, Autominer, methoxy, WPE) -->
<permission name="info2">7</permission>
<!-- Displays last 75 cast intervals -->
<permission name="info3">7</permission>
<!-- Teleports the player to the specified town -->
<permission name="town">11</permission>
<!-- Bans a player -->
<permission name="ban">7</permission>
<!-- Unbans a player -->
<permission name="unban">7</permission>
<!-- Sets the specified quest to the specified stage -->
<permission name="quest">11</permission>
<!-- Sets the players quest points to the specified value -->
<permission name="questpoints">11</permission>
<!-- Dumps duping data for a player -->
<permission name="dumpdata">11</permission>
<!-- Shuts down the server -->
<permission name="shutdown">10</permission>
<!-- Sends an update message, and shuts the server down in 60 seconds -->
<permission name="update">10</permission>
<!-- Wipes inv -->
<permission name="dropall">10</permission>
<!-- Uses threaded client update (messed up) -->
<permission name="thread">11</permission>
<setting>
<!-- Minimum delay between commands -->
<command-delay>2000</command-delay>
<!-- Minimum time before it sends the message about the delay -->
<command-delay-message-delay>100</command-delay-message-delay>
<!-- Time between login and using stuck -->
<stuck-login-wait-period>30000</stuck-login-wait-period>
<!-- Time between movement/combat that must be waited before using -->
<stuck-stand-still-time>300000</stuck-stand-still-time>
<!-- The x Coordinate the player is teleported to -->
<stuck-x>122</stuck-x>
<!-- The y Coordinate the player is teleported to -->
<stuck-y>647</stuck-y>
</setting>
</command>

Some files were not shown because too many files have changed in this diff Show More