RUST Zone Command v1.0.0

No permission to download
You can download a maximum of 0 files within 24 hours

TL;DR​

Create a configuration for a zone with zc create [Zone ID] and edit the file created. For possible values and explanations refer to the Explanations section under Data-Files.

Permissions​

This plugin uses the permission system. To assign a permission, use oxide.grant <user or group> <name or steam id> <permission>. To remove a permission, use oxide.revoke <user or group> <name or steam id> <permission>.
  • zonecommand.command - Allows using the commands.

Commands​

This plugin provides both chat and console commands using the same syntax. When using a command in chat, prefix it with a forward slash: `/`.
  • zc create [Zone ID] - Create a datafile with Zone ID specified.

Configuration​

The settings and options can be configured in the ZoneCommand file under the config directory. The use of an editor and validator is recommended to avoid formatting issues and syntax errors.

Default Configuration​

Code:
Please, Log in or Register to view codes content!

Data-Files​

ZoneCommand and ZoneCommandMeta​

Zone Command Meta contains per-zone information on when players have entered it last time. You should delete it every wipe.

Zone Command contains your actual configuration values. File names of these files may and should be changed for your own convenience.

Default Data-File​

Code:
Please, Log in or Register to view codes content!

Explanations​

Zone ID - Your zone ID.

Actions - List of actions to perform whenever necessary.

Frequency - How often it should be ran. One of Once, Always and PerPlayer.

Time Frequency - Minimum time to pass between actions performed in C# format, such as d.hh:mm:ss.

Use Game Time - Whether to use in-game time for Time Frequency.

Run On - When to run the action. One of Enter and Exit.

Commands - List of commands to be executed.

Command - The actual command, such as oxide.grant.

Arguments - List of arguments, such as "user", 7656119.. and "permission_name" .

Clientside - Whether to run this command on the client side.

Chat Command - Whether this command is a chat one. Removes the need for chat.say and /. Only usable with Clientside.

Placeholders (Player ID and such)​

If you want to use placeholders, you should install Placeholder API and use its placeholders, such as {player.id}.

Localization​

The default messages are in the ZoneCommand file under the lang/en directory. To add support for another language, create a new language folder (e.g. de for German) if not already created, copy the default language file to the new folder and then customize the messages.

English​

Code:
Please, Log in or Register to view codes content!
Author
Box2
Downloads
0
Views
14
First release
Last update
Rating
0.00 star(s) 0 ratings

Similar resources

0.00 star(s) 0 ratings
Downloads
0
Updated
SourceMod CS: GO  Bomba-zone 2023-03-20 GP20.00
Выдача бомбы первому игроку(Terroris) который прибежит в зону закладки!
0.00 star(s) 0 ratings
Downloads
0
Updated
XF 2  Frag Zone 1.0.0 GP15.00
Тёмный стиль
0.00 star(s) 0 ratings
Downloads
0
Updated
XF 2  Frag Zone 2.2.4.0 GP30.00
Отличный стиль для игровых сообществ.
0.00 star(s) 0 ratings
Downloads
0
Updated
XF 1  Game Zone 1.5.8.0 GP20.00
Стиль.
0.00 star(s) 0 ratings
Downloads
0
Updated
Back
Top
Development Community