2023-05-21: Yes, we're back. No, you can't login yet

Wanted System

Uploaded by Gentle Spy

The add-on board icon. Server Mods
The add-on file name icon. Server_Wanted.zip
The add-on upload date icon. Sep 15th 2020, 12:22 PM
The add-on download count icon. 623

Description

A wanted/innocent system to determine whether a kill is justified or not. Includes multiple RTB/BLG preferences making it highly customizable. Also includes events. (Slayer by Greek2Me is currently required for use.)

Events: setWanted event: marks the player as wanted.

removeWanted event: removes the player's wanted level.

removeMinorWanted event: removes the players wanted level unless the player has committed assault or murder.

Crimes: Contraband: when picking up an item, if it is not one of the items marked as legal, it will make you wanted.

Event: when the player activates a brick event making them wanted, could be used for trespassing, etc.

Assault: any time the player attacks a member of the opposing team it will make them wanted with a higher severity than the previous mentioned crimes.

Murder: any time the player kills a member of the opposing team, higher severity, same as assault.

Preferences: $Pref::Server::Team1: the team that cannot become wanted, by default set to "guards."

$Pref::Server::Team2: the team that can become wanted, by default set to "prisoners."

$Pref::Server::ResetOnDeath: whether your wanted level will reset on death, 3 options, yes, minor crimes, and no. By default this is set to "yes."

$Pref::Server::LegalItems: what items the second team can pick up without becoming wanted, by default set to "Push Broom" and "Fists".

$Pref::Server::LegalItemCount: the amount of items the second team can legally pick up, by default set to 2 to match above.

Credits: Gentle Spy (166053), coding, testing, bug fixing. Gothboy77 (14329), coding, testing, bug fixing, making it pretty. Bird159, giving me the idea.

Comments (1)

Mae Mae Man
2020-11-07 09:00:33
i like