cucumber
No funciona (falla al cargar) — Could not load plugin 'cucumber_2.0.0.phar': Invalid plugin manifest: Invalid Plugin "permissions": Nested permission declarations are no longer supported. Declare each permission separately. · Probado en PocketMine-MP 5.50.0 (PHP 8.4.27).
cucumber
Current stable version: 2.0.0
cucumber is a complete moderation plugin for PocketMine-MP which features ban/mute management and logging of various significant events.
Note that cucumber requires a MySQL database to work.
If you are upgrading from v1.6.2, just update the cucumber .phar. Do not delete configuration files, they will automatically be updated and save your settings :-)
Punishment Management
cucumber enables banning of players and IPs, muting and warning.
Command Description Usage Notes
/ban
Ban a player by name
/ban
/banlist See the list of bans /banlist [-all|-a] The -all flag specifies that all bans should be displayed, including those that have expired
/pardon
Pardon a player
/pardon
/ipban
Ban an IP
/ipban
/ipbanlist See the list of IP bans /ipbanlist [-all|-a] The -all flag specifies that all IP bans should be displayed, including those that have expired
/ippardon
Pardon an IP
/ippardon
/uban
Ban any player that joins using an IP. Irreversible
/uban
/mute
Mute a player
/mute
/mutelist See the list of mutes /mutelist [-all|-a] The -all flag specifies that all mutes should be displayed, including those that have expired
/unmute
Unmute a player
/unmute
/warn
Warn a player
/warn
/warnings
See a player's warnings
/warnings
/mywarnings See your warnings /mywarnings [-all|-a] The -all flag specifies that all of the sender's warnings should be displayed, including those that have expired
/delwarn
Delete a specific warning
/delwarn
/history
See a player's punishment history
/history
Duration
In a duration argument:
y: year
M: month
w: week
d: day
h: hour
m: minute
For instance, 1y3M means one year and three months (this is the same as 15M). 1w2d12h means one week, two days, and twelve hours (this is the same as 9d12h).
For an infinite duration (a punishment that never expires), you can enter one of the following: inf, infinite, perm, permanent, -1.
Logging
cucumber logs various events¹ to a path specified in config.yml. Several loggers (including custom ones) can also be defined in config.yml. (By default, a BaseLogger exists that logs everything to log_out.txt.) Messages are written to the file every 10 seconds asynchronously.
¹ cucumber logs the following: join, join attempt (if a player attempts to join while banned), quit, chat, chat attempt (if a player attempts to chat while muted), command
Miscellaneous
cucumber also has miscellaneous moderation commands that are not related to punishment management.
Command Description Usage Notes
/rawtell
Send a raw message to a player
/rawtell
-nomessage does not send a chat message -popup sends a popup -titlesends a title
/log
Log a message
/log
-severity specifies the severity at which to log the message. See below for more informaiton about severities
/alert
Broadcast a message to the server
/alert
-nomessage does not send a chat message -popup sends a popup -title sends a title
/ip
Get a player's IP and their alt accouts
/ip
/vanish Vanish from other players' sight /vanish
Severity
In a severity tag:
log: Normal, ordinary events
notice: Normal but interesting events
important: Significant events
alert: Exceptional events that likely require monitoring
If a message is logged at the important severity, for instance, loggers that listen to higher severities (ex. alert) will not pick it up. This is useful if you want to have an alert logger that sends you a Discord notification, for example.