adminhelp

last built 6 months ago
Build #43
By downloading this file, you agree to our license terms.
Source: github.com
License: MIT
Maintainer: Community Plugin
This plugin does not compile with the latest version of RocketMod.
Contact the author and kindly ask him to update this plugin or consider fixing it on GitHub.

The RocketMod team curates a dozen of community plugins and could need your support.
Consider a donation to RocketMod and sponsor your favourite plugins or contribute code to them.

AdminHelp

AdminHelp is a plugin that allow players to ask to the Admins something through a command. That is to avoid chat spamming, and to quietly report someone.

 

Commands:

-“/adminhelp <message>” Send a message only to the Admins and console (depending on the config)
Aliase: adminh
-“/adminbusy” Toggles the display of AdminHelp messages for the player
Aliase: adminb
-“/admincolor <color>/<firstColor secondColor..>/<list>” A little command to see what colors are available for the plugin (You’ll soon going to be able to use custom colors)
Aliase: adminh

 

Features:

-Allow players to send a message only visible to Admins (and console depending on the config)
-Permissions to allow to send/receive the AdminHelp messages
-Messages receivers can now turn it on/off doing /adminbusy
-Custom message display using the translation file and custom colors

 

Config:

-“logEveryCommandInConsole” if true messages will be sent in console when players uses /adminbusy and a few other actions
-“showMessageInConsole” if true then the /adminh command will display the messages in the console too
-“commandBusyColor” color for the message when someone is now busy (only sent to caller)
-“commandUnBusyColor” color for the message when someone is not busy anymore (only sent to caller)
-“messageColor” color of the /adminhelp message
-“messageSentColor” color of the message sent to the player when his message has been successfuly sent to admin(s)
-“messageNoAdminOnlineColor” color of the message sent to the player when he does /adminhelp but there is no admin(s) online/not busy

 

Permissions:

-“adminhelp.send” allow someone to use /adminhelp
-“adminhelp.receive” allow someone to receive the /adminhelp messages (admins already does)
-“adminhelp.busy” allow someone to use /adminbusy
-“adminhelp.busy.bypass” allow someone to bypass the busy state
-“adminhelp.color” allow someone to use the /admincolor command

 

Comming features:

-If there is no admin online at the moment, then the first admin that is going to connect will receive the messages
-Add more colors and custom choice
-Remake the look of the messages

Default configuration


<?xml version="1.0" encoding="utf-8"?>
<AdminHelpConfig xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <logEveryCommandInConsole>true</logEveryCommandInConsole>
  <showMessageInConsole>true</showMessageInConsole>
  <commandBusyColor>red</commandBusyColor>
  <commandUnBusyColor>green</commandUnBusyColor>
  <messageColor>blue</messageColor>
  <messageSentColor>green</messageSentColor>
  <messageNoAdminOnlineColor>red</messageNoAdminOnlineColor>
</AdminHelpConfig>

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="command_syntax_message" Value="Please do" />
  <Translation Id="no_admin_online" Value="There is no Admins online for now, or they are busy, sorry!" />
  <Translation Id="adminhelp_help" Value="Send a message to Admins only" />
  <Translation Id="adminhelp_sent" Value="Message has been sent!" />
  <Translation Id="adminhelp_prefix" Value="[AdminH] " />
  <Translation Id="adminhelp_sufix" Value=": " />
  <Translation Id="admincolor_help" Value="Display the color with an example message" />
  <Translation Id="admincolor_example" Value="This is an example message displaying in:" />
  <Translation Id="admincolor_message" Value="If some colors are white, it means they doesn't exist" />
  <Translation Id="admincolor_list" Value="Here are the colors:" />
  <Translation Id="admincolor_console_error" Value="Wrong color, set to default value WHITE, error at:" />
  <Translation Id="adminbusy_console_busy" Value="is now busy" />
  <Translation Id="adminbusy_console_unbusy" Value="is not busy anymore" />
  <Translation Id="adminbusy_help" Value="Disable receiving the AdminHelp messages" />
  <Translation Id="adminbusy_on" Value="You will no longer receive AdminHelp messages" />
  <Translation Id="adminbusy_off" Value="You will now receive AdminHelp messages" />
</Translations>

Commands and permissions


Git changelog


3f04d0d49b47576 2019-05-22 13:42:14

Fixed.

    e44478785e0cf81 2016-11-20 22:15:20

    fixed references

      1403e77532ff9d7 2016-11-20 20:34:00

      .

      • .

      573e6ee76433cd7 2016-11-20 20:29:42

      Plugin is back!

      • After a long time in the dark, I finally re-publish it! :D

      a1458383bd46aa1 2016-11-20 20:25:54

      Plugin is back!

      • After a long time in the dark, I finally re-publish it! :D

      816198b49ce2a7b 2016-11-20 20:09:49

      .

      • .

      176fcfb57fbf586 2016-11-20 20:07:08

      Plugin is back!

      • After a long time in the dark, I finally re-publish it! :D