X
Xanthos
Guest
Speech Cop Jailing System version 1.8
This is a basic jailing and speech monitor system.
Commands : [jail [unjail [AddJailWords [DeleteJailWords [ListJailWords
If a player says any of the words in the file jaiwords.cs, they will be automatically jailed on the spot. If you want the system to monitor chat speech as well there is a method, in jailcommand.cs, that must be called from the chat command handler. An example and explanation for how to do this with Knives Chat 2.0 is provided in jailcommand.cs. If you want to prevent players from leaving jail using the stuck option you will also need to set up a custom region encompassing your jail; Regions In a Box works well for that.
Installation:
Thanks go to Novafire, whose ideas make up the bulk of this release.
Special thanks to Thundar for his help and ideas on this release.
This is a basic jailing and speech monitor system.
Commands : [jail [unjail [AddJailWords [DeleteJailWords [ListJailWords
If a player says any of the words in the file jaiwords.cs, they will be automatically jailed on the spot. If you want the system to monitor chat speech as well there is a method, in jailcommand.cs, that must be called from the chat command handler. An example and explanation for how to do this with Knives Chat 2.0 is provided in jailcommand.cs. If you want to prevent players from leaving jail using the stuck option you will also need to set up a custom region encompassing your jail; Regions In a Box works well for that.
Installation:
- Unzip the package
- Drop in your custom folder
- Copy or move the jailwords.txt file to your Data folder.
- Restart your server.
- Add a JailTeleporter (ideally this is at a location accessible to inmates in your jail, however it need not be visible or accessible to them for the system to work properly).
- Modify the props on the teleporter to change the locations of the jail and release spots, etc. (most installations will not need to change the source files since the most common configurations can be accessed via the properties on the teleporter).
- Added the Murder Free Location to the in game configuration. Use props on the jail teleporter to configure it.
- Cursing in jail now gets the player kicked, in addition to fined and an increased sentence.
- There is now an option to the jail command to squelch the player when jailed.
Thanks go to Novafire, whose ideas make up the bulk of this release.
- Extracts a fine from jailed players.
- Provides two free locations based on noteriety - one for murderers with 5 or more counts and one for the rest.
- Swearing in jail no longer teleports the player to jail since they are already there.
- Players are now jailed in a burst of flame and lighting which leaves behind nothing but their smoldering boots.
- The package now unzips into a Xanthos directory - keeping the package files within the Xanthos directory in your customs directory is recommended.
- Fixed an interaction with the safe rez context whereby an immovable death shroud would be left in a dead jailed player's pack.
- All jail configuration is now done in game - no more need to edit scripts or restart the server.
- New commands: AddJailWords, DeleteJailWords and ListJailWords allow in game changes and review of the jailable words.
- The speech filter can be enabled/diabled by editing the properties on the JailTeleporter allowing an admin to turn on and off autojailing on speech.
Special thanks to Thundar for his help and ideas on this release.
- Jail Rock is now deleted when players are released or jailed
- Players are now teleported to the free location immediately upon release
- Free players in the Jail Guard's line of sight who step too close are jailed
- Access levels of jailed players are now persisted when the server shuts down - therefore players with access level counselor and above, jailed after this release, will have their proper access level restored when set free
- Some of the messages have changed
- The jail teleporter is now visible when created
- Jail rock can no longer be created in-game using [add, unless JailRock.cs is compiled with JAIL_TESTING defined.
- Free and jail teleport locations, hammer difficulty and type of tiles to mine are now settable in game using the [props on the jail teleporter.
- The teleporter will now remove any jail rock from the player's pack as they exit jail.
- Fixed the guard spamming.
- Fixed another crash in the unjail command related to the hashtable.
- Moved the name of the tiles to mine and the name of the rock mined there with the rest of the configuration variables.
- Added a comment that describes how to find the name of the tiles to be mined.
- Fixed the guard logic so he speaks again.
- All pets are now stabled when a player is jailed
- Player access level is stored and set to Player, then back to its original value on release
- Fixed a bug where the hammer could be unequipped on certain conditions. This change required that the Hammer inherit from BaseWeapon. Unfortunately this will cause a one time deletion of all existing hammers, and susbsequent release of all prisoners - guard your women and children!
- Fixed a crashing bug when a player is set free using the [UnJail command
- Moved all configurable options into the Jail class
- Changed the hue of the teleporter to be more noticable