ForeverAlone
1.2Prevent players from executing commands if they are too close to other players
ForeverAlone
Prevent your players from executing commands, unless they are alone!
Features
- Configurable, per group radius
- Command whitelist
- Configurable messages
- Exclude gamemodes (configurable)
- Ghost mode
Default config:
# Permission to reload the config (/falone reload) is foreveralone.reload
# Global radius
default-min-distance: 10
# Per-group radius
# To put players in a group, give them permission foreveralone.<groupname>
# If a player has one or more group, default-min-distance is ignored and
# the smallest radius is used.
min-distance-per-group:
vip: 5
reload: 0
messages:
# Sent to a player when a command is denied
# Available parameters:
# %displayname% -> Nearest player's display name
# %name% -> Nearest player's name
# %mindistance% -> Required distance to execute the command
# %distance% -> Current distance (floored down) to the nearest player
too-close: "&cYou cannot execute commands while %displayname% (%name%) is less than %mindistance% blocks away from you (current: %distance%)"
# Whitelisted commands
# Will also take in account command aliases (unless the command is vanilla)
# You can also restrict the command to specific parameters by appending them
# In this case, the command AND parameters must be an exact match
# e.g. 'falone' will allow '/falone', '/falone reload' and '/falone now'
# However, 'falone reload' will ONLY allow 'falone reload'
whitelist:
- help
- msg
- falone reload
# Bypasses distance requirements if the command executor is in either of the specified gamemodes
# Also makes the player "invisible" to others, e.g. if one creative player is near a survival player,
# they both can execute commands
exclude-gamemodes:
- creative
- spectator
Planned features
- Vanilla teams integration (configurable)
- WorldEdit regions support (configurable)
- Create configuration commands (paid)
- Notify players when they can type a command again (paid, configurable)
- Factions integration (paid, configurable)
- Handle other types of entities (paid, configurable)
Please vote for/suggest features in the comments!
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta