Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-Add deprecated rule violation system for pre-8.7 protocols -Chat code optimization + auto-detection chaneel ids for hardcoded channels
- Loading branch information
1 parent
fd79964
commit 5640e43
Showing
18 changed files
with
736 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<channels> | ||
<channel id="2" name="Tutor" script="tutor.lua" /> | ||
<channel id="3" name="World Chat" public="1" script="worldchat.lua" /> | ||
<channel id="4" name="English Chat" public="1" script="englishchat.lua" /> | ||
<channel id="5" name="Advertising" public="1" script="advertising.lua" /> | ||
<channel id="6" name="Advertising-Rookgaard" public="1" script="advertising-rook.lua" /> | ||
<channel id="7" name="Help" public="1" script="help.lua" /> | ||
<channel id="8" name="Gamemaster" script="gamemaster.lua" /> | ||
<!-- README: | ||
0 - dynamic, reserved for guilds | ||
1 - always acts as Party channel, only "name" tag available | ||
2-10 - reserved for main channels(hardcoded) | ||
100-10000 - reserved for private channels | ||
--> | ||
<channel hid="rvr" name="Rule Violations" script="rvr.lua" /> | ||
<channel id="11" name="Tutor" script="tutor.lua" /> | ||
<channel id="12" name="World Chat" public="1" script="worldchat.lua" /> | ||
<channel id="13" name="English Chat" public="1" script="englishchat.lua" /> | ||
<channel hid="advertising" name="Advertising" public="1" script="advertising.lua" /> | ||
<channel hid="advertising-rookgaard" name="Advertising-Rookgaard" public="1" script="advertising-rook.lua" /> | ||
<channel hid="help" name="Help" public="1" script="help.lua" /> | ||
<channel id="14" name="Gamemaster" script="gamemaster.lua" /> | ||
</channels> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
function canJoin(player) | ||
return player:hasFlag(PlayerFlag_CanAnswerRuleViolations) | ||
end | ||
|
||
function onSpeak(player, type, message) | ||
return false | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.