Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MultiSafeUtils

A small, ShreddedPaper / MultiPaper / Folia-safe utility plugin for Paper 1.21+. It provides the everyday admin commands (gamemode, teleport, kick) that most utility plugins ship, but rewritten to be correct on a multithreaded, regionised server where the vanilla and classic-Bukkit versions of these commands are not safe.

On ShreddedPaper (MultiPaper) and Folia there is no single main thread: the world is split into regions, each ticked by whatever thread owns it. Touching an entity, block, or inventory from the wrong thread is a hard crash, not a caught exception. Every command here schedules its work onto the thread that owns the target.


Commands

Command Aliases Usage Description
/gamemode /gm /gamemode <mode> [player] Set a gamemode. mode = survival/creative/adventure/spectator, or s/c/a/sp, or 03.
/gmc /gmc [player] Creative shortcut.
/gms /gms [player] Survival shortcut.
/gma /gma [player] Adventure shortcut.
/gmsp /gmsp [player] Spectator shortcut.
/tp /teleport /tp <player> Teleport yourself to a player.
/tp /teleport /tp <player1> <player2> Teleport player1 to player2.
/tphere /tphere <player> Teleport a player to you.
/kick /kick <player> [reason] Kick a player, with an optional reason.

When no [player] is given, gamemode commands target the sender (must be a player).


Permissions

All default to op.

Node Grants
multisafeutils.gamemode.survival Use survival mode
multisafeutils.gamemode.creative Use creative mode
multisafeutils.gamemode.adventure Use adventure mode
multisafeutils.gamemode.spectator Use spectator mode
multisafeutils.gamemode.others Change other players' gamemode
multisafeutils.teleport Teleport yourself to another player
multisafeutils.teleport.others Teleport other players (/tphere, /tp a b)
multisafeutils.kick Kick players

Changing another player's gamemode requires both the per-mode node and multisafeutils.gamemode.others.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages