Features
- SpeedZones.
- Async Discord Webhooks.
- Async MySQL which means no lag.
- Full translatable via translations file.
Commands
Command | Syntax | Permission | Explanation |
---|---|---|---|
/checkfines | checkfines | Check your non paid fines | |
/checkfines | [playerid/playername] | checkfines.other | Check non paid fines from a player |
/payfine | [id] | payfine | Pay a fine by ID |
/fine | [playerid/playername] [reason] [amount] | fine | Fine a player |
/deletefine | [id] | deletefine | Deletes a fine from database |
Required
- MySQL Server
- AdvancedZones
Configuration
<?xml version="1.0" encoding="utf-8"?>
<Configuration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DiscordWebhook>https://discord.com/api/webhooks/xxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</DiscordWebhook>
<DatabaseCredentials>
<Address>localhost</Address>
<DatabaseName>unturned</DatabaseName>
<Port>3306</Port>
<User>root</User>
<Password>password</Password>
</DatabaseCredentials>
<SpeedZones>
<SpeedZone Id="170" SpeedLimit="120" Fine="1500" />
</SpeedZones>
<SpeedFineAmount>2500</SpeedFineAmount>
</Configuration>
Translation
<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Translation Id="TargetNotFound" Value="Target not found." />
<Translation Id="TranslationKeyEmpty" Value="Translation key is empty." />
<Translation Id="SpeedFineReason" Value="You have been fined for speeding." />
<Translation Id="SpeedFine" Value="Excessive speed." />
<Translation Id="SpeedFineAmount" Value="You have been fined ${0}" />
<Translation Id="PayFineCommand" Value="You can pay the fine with /payfine [id]." />
<Translation Id="NoFines" Value="You have no fines." />
<Translation Id="UnpaidFines" Value="You have {0} unpaid fines!" />
<Translation Id="NoFinesOther" Value="The player with ID {0} has no unpaid fines!" />
<Translation Id="UnpaidFinesOther" Value="The player with ID {0} has {1} unpaid fines!" />
<Translation Id="PlayerNotFound" Value="Player not found with this ID or name." />
<Translation Id="FineSpecifyWrong" Value="You must specify the ID of the fine you want to pay." />
<Translation Id="FineNotExists" Value="The fine with ID {0} does not exist." />
<Translation Id="FineNotYours" Value="You can't pay a fine that isn't yours!" />
<Translation Id="FineAlreadyPaid" Value="The fine with ID {0} has already been paid." />
<Translation Id="FinePayNotEnough" Value="You don't have enough money to pay this fine!." />
<Translation Id="FinePaidSuccess" Value="You have paid the fine with ID {0}." />
<Translation Id="FineAmountWrong" Value="The fine amount must be a positive number." />
<Translation Id="SetFineToPlayer" Value="You have fined ${0} to {1} for {2}!" />
<Translation Id="PlayerFined" Value="You have received a fine of {0} for {1}!" />
<Translation Id="DeleteFineWrong" Value="You must specify the ID of the fine you want to delete." />
<Translation Id="DeleteFineSuccess" Value="You have deleted the fine with ID {0} from {1}!." />
</Translations>
Support
https://discord.gg/sw9QRF9ht7