jailplus

#17 - published 4 months ago

JailPlus

This is a test version, new commands being added

Guide and informations: https://github.com/brunoHelloWorld/JailPlus

 


						  
						  

Default configuration


<?xml version="1.0" encoding="utf-8"?>
<Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <DatabaseHost>localhost</DatabaseHost>
  <DatabaseUser>root</DatabaseUser>
  <DatabasePass />
  <DatabaseName>unturned</DatabaseName>
  <DatabasePort>3306</DatabasePort>
  <DatabaseTableCellName>jailplus_cells</DatabaseTableCellName>
  <DatabaseTablePlayerName>jailplus_players</DatabaseTablePlayerName>
  <DistanceSystem>true</DistanceSystem>
  <OnPlayerConnected>true</OnPlayerConnected>
  <ReviveOnJail>true</ReviveOnJail>
  <EscapeSystem>false</EscapeSystem>
  <TimeSystem>true</TimeSystem>
  <WalkDistance>10</WalkDistance>
  <EscapeDistance>500</EscapeDistance>
  <MaxDistanceToCuff>10</MaxDistanceToCuff>
  <MaxDistanceToUnCuff>10</MaxDistanceToUnCuff>
</Configuration>

Default english translation


<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Translation Id="jailplus_disabled" Value="Whoops! Sorry, but JailPlus are currently disabled." />
  <Translation Id="set_usage" Value="Use: /jp set [cell name] to set a prison cell in your current location." />
  <Translation Id="set_sucess" Value="Prison cell {0} created here!" />
  <Translation Id="set_error" Value="Prison cell {0} already exists" />
  <Translation Id="unset_usage" Value="Use: /jp unset [cell name] to remove a prison cell." />
  <Translation Id="unset_sucess" Value="Cell {0} deleted!" />
  <Translation Id="unset_error" Value="Cell {0} not found." />
  <Translation Id="unset_warning" Value="Prison cell {0} contains prisoners." />
  <Translation Id="tp_usage" Value="Use: /jp tp [cell name] to teleport for the prison cell." />
  <Translation Id="tp_sucess" Value="Transported to cell {0}." />
  <Translation Id="tp_error" Value="Prison cell {0} does not exist." />
  <Translation Id="add_usage" Value="Use: /jp add [player name] [cell name] [time(optional)] to add the player to the prison cell." />
  <Translation Id="add_target_sucess" Value="You arrested by {0} to {1}." />
  <Translation Id="add_target_sucess_time" Value="You arrested by {0} to {1} for {2}:{3} hours!" />
  <Translation Id="list_cells" Value="{0} cell/s available: {1}" />
  <Translation Id="list_empty" Value="The cell list is empty." />
  <Translation Id="cuff_usage" Value="Use: /jp cuff [player name] to handcuff a player." />
  <Translation Id="uncuff_usage" Value="Use: /jp uncuff [player name] to unfetter a player." />
  <Translation Id="cuff_target" Value="You handcuffed by {0}!" />
  <Translation Id="uncuff_sucess" Value="You cuffed {0}!" />
  <Translation Id="uncuff_target" Value="You uncuffed by {0}!" />
  <Translation Id="cuff_sucess" Value="You uncuffed {0}!" />
  <Translation Id="cuff_target_already_cuffed" Value="{0} is already cuffed!" />
  <Translation Id="cuff_target_already_uncuffed" Value="{0} is already uncuffed!" />
  <Translation Id="target_not_found" Value="Player {0} not found!" />
</Translations>

Commands and permissions


/jailplus /jailplus <set|unset|check> <cell name> | <arrest|liberate|cuff|uncuff> <player name> <cell name>

Permissions: jailplus

Help message


Git changelog


40fff3d713816fb 2018-11-22 04:42:58

update

    Download

    Build #17
    By downloading this file, you agree to our license terms.

    Repository

    github.com

    License

    MIT

    Author

    BrunoHelloWorld