Sueta
LO

LoginRestrictor

1.1

A simple plugin to restrict player actions in login servers or others

·Plugin

LoginRestrictor is a Bukkit plugin that deny permissions to almost all players events, you can use this plugin with AuthMe (or not) for your connection server or servers that you want to restrict.

FEATURES

  • Prevent players from moving around
  • Prevent players from sending chat messages
  • Set permanently the weather to clear
  • Prevent players from interacting with blocks in the world
  • Prevent creatures from spawning in the world
  • Teleport players to a specific point in the world
  • Delete useless user datas (like for connection servers)
  • Prevent players from taking damages
  • Delete message when player join the server
  • Hide players from each others

COMMANDS

Commands can only be used from console and from operators

/ lobbyr - reload the configuration

EVENTS BLOCKED

- AsyncPlayerChatEvent
- PlayerMoveEvent
- PlayerQuitEvent
- BlockBreakEvent
- BlockPlaceEvent
- WeatherChangeEvent
- CreatureSpawnEvent
- EntityDamageEvent
- Some others may come with updates...

CONFIG FILE

The default config.yml is the following :

#Prevent players from moving around   
canmove   :  false 
 #Prevent players from sending chat messages   
canchat   :  false 
 #Always set the weather to clear (you have to set the world in locspawn)   
fixweather   :  true 
 #Prevent players from breaking or placing blocks in the world   
canuseblock   :  false 
 #Prevent creatures from spawning   
creaturecanspawn   :  false 
 #The coordonates where the player will be teleported (if teleport is set to true)   
locspawn   :   "world,0,120.0,0,-90.0,0"  
 #Teleport players on join to the defined spawn   
teleport   :  true 
 #Delete userdatas in your world folder   
deleteuserdata   :  false 
 #Cancel all the damages to entities   
nodamage   :  true 
 #Use default message when connect   
connectionmsg   :  false 
 #Hide players from other players   
hideplayers   :  true

USAGE without AuthMe plugin

1. Put the plugin in your Bukkit plugins folder
2. Start your server
3. Ensure that everything is started correctly
4. Change the config
5. Perform a /lobbyr
6. Enjoy

USAGE with AuthMe plugin

1. Shutdown your server
2. Modify the following values in AuthMe config file

SaveQuitLocation   :  false  
allowMovement   :  true  
spawnPriority   :  'LoginRestrictor'  
noTeleport   :  true

3. Put the plugin in your Bukkit plugins folder
4. Start the server
5. Ensure that everything is started correctly (especially AuthMe)
6. Change the config
7. Perform a /lobbyr
9. Enjoy

SUPPORT

If you have a problem with the plugin, please contact me on Discord at Bakalexis#0001

Similar projects

Plugin →