tools

#4 - published a year ago

Tools

As of right now, with this plugin you can only add, remove and modify your permission groups.

Quick note, this plugin doesn’t have to be limited to editing permissions from in-game. Feel free to suggest more things that could be added to the plugin!

Permissions:

Command What it does Permission
/rocketpermission Modifies the permission groups rocketpermission

Configuration:

Configuration Description
EnablePlugin Self-descriptive, enables/disables the plugin.
EnableRPermCommand Self-descriptive, enables/disables /rocketpermission command.

Translation:

Too long to list here, see the translation tab below or the translation file directly)

Possible Command Usage:

/rocketpermission create <group>
/rocketpermission delete <group>
/rocketpermission add <permission> <group>
/rocketpermission add <permission> <cooldown> <group>
/rocketpermission remove <permission> <group>
/rocketpermission color <color> <group>
/rocketpermission prefix <prefix> <group>
/rocketpermission suffix <suffix> <group>
/rocketpermission displayname <name> <group>
/rocketpermission id <id> <group>
/rocketpermission parentgroup <parent group> <group>
/rocketpermission list permissions <group>
/rocketpermission list members <group>
/rocketpermission details <group>

Notes:

To add/remove players from group, you’ll have to use rocket’s original command, which is /p. For example, to add or remove players, these are the possible commands you can do from ingame (the | means OR):

/p add <player | Steam64ID> <group>
/p remove <player | Steam64ID> <group>

 

Please report any bugs that you find and feel free to submit any suggestions.

If you like my work, feel free to donate with either of these options:
Bitcoin address found in my keybase profile
or
Paypal

Default 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">
  <EnableRPermCommand>true</EnableRPermCommand>
</Configuration>

Default english 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="error_usage_rperm" Value="Invalid command syntax." />
  <Translation Id="error_duplicate_group" Value="That group already exists!" />
  <Translation Id="error_duplicate_permission" Value="The group {0} already has that permission!" />
  <Translation Id="error_notfound_group" Value="That group does not exist!" />
  <Translation Id="error_notfound_permission" Value="The group does not have the permission {0}." />
  <Translation Id="error_same_color" Value="The group {0} already has that color!" />
  <Translation Id="error_same_prefix" Value="The group {0} already has that prefix!" />
  <Translation Id="error_same_suffix" Value="The group {0} already has that suffix!" />
  <Translation Id="error_same_parentgroup" Value="The group {0} already has that parentgroup!" />
  <Translation Id="error_same_id" Value="The group {0} already has that ID or another group already exists with that name!" />
  <Translation Id="error_same_displayname" Value="The group {0} already has that display name!" />
  <Translation Id="error_invalid_color" Value="The color {0} is invalid." />
  <Translation Id="error_invalid_number" Value="{0} is not a number!" />
  <Translation Id="error_unknown" Value="An unknown error has happened! O.O" />
  <Translation Id="error_command_disabled" Value="That command has been disabled by the server in the configuration." />
  <Translation Id="notification_success_group_create" Value="Permission group {0} was created successfully!" />
  <Translation Id="notification_success_group_delete" Value="Permission group {0} was deleted successfully!" />
  <Translation Id="notification_permission_added" Value="Permission {0} was added to the group {1}." />
  <Translation Id="notification_permission_removed" Value="Permission {0} was removed from the group {1}." />
  <Translation Id="notification_color_change" Value="Chat color was changed for the group {0}." />
  <Translation Id="notification_prefix_change" Value="Prefix was changed for the group {0}." />
  <Translation Id="notification_suffix_change" Value="Suffix was changed for the group {0}." />
  <Translation Id="notification_parentgroup_change" Value="Parent group was changed for the group {0}." />
  <Translation Id="notification_id_change" Value="ID was changed for the group {0}." />
  <Translation Id="notification_displayname_change" Value="Display name was changed for the group {0}." />
  <Translation Id="notification_details_group" Value="ID: {0}, Display Name: {1}, Prefix: {2}, Suffix: {3}, Color: {4}, Parent Group: {5}, Priority: {6}, {7} Members and {8} Permissions." />
  <Translation Id="notification_list_start_players" Value="Players in {0}:" />
  <Translation Id="notification_list_start_perms" Value="Permissions in {0}:" />
  <Translation Id="notification_list_perms" Value="Permission: {0}, Cooldown: {1}." />
  <Translation Id="notification_list_players" Value="Player: {0}" />
  <Translation Id="notification_list_no_players" Value="There are no players in that group." />
  <Translation Id="notification_list_no_perms" Value="There are no permissions in that group." />
</Translations>

Commands and permissions


/rocketpermission create <group> | delete <group> | add <permission> <group> | remove <permission> <group> | add <permission> <cooldown> <group> | color <color> <group> | prefix <prefix> <group> | suffix <suffix> <group> | displayname <name> <group> | id <id> <group> | parentgroup <parent group> <group> | list <permissions | members> <group> | details <group> | priority <priority> <group>

Permissions: rocketpermission

Adds or deletes a permission group or adds/removes a permission to/from a permission group.


Git changelog


e238f56085115b7 2017-06-11 19:08:17

Latest Rocket Update

  • Build #4

4e1f2346b1bd9fc 2017-04-17 14:29:16

Build #3

    594f040f3ffa42d 2017-04-17 14:13:08

    Build #2

      69af6924f3675aa 2017-04-17 13:42:32

      Release #1

        Download

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

        Repository

        github.com

        License

        MIT

        Author

        persiafighter