SafeBuild is a plugin I made about a year back. The purpose of this plugin was to allow players to help me build things in the survival world, without me having to sit there and make sure they aren't trying to abuse the creative mode, or going off and doing something else. So I made SafeBuild, but when I made it was a very messy and unorganized plugin but that was okay because I didn't have the desire to upload it to Bukkit, but I've decided this plugin could be used on multiple servers still, and I no longer have a server I use it on. So I cleaned up the plugin, added some features and started testing. And here it is!
Features
Set a Leash on the player - Limit how far that player can go from you
Set the players fly speed - If you have NoCheat and it's preventing flying, just load on Vault and it'll add the perm to the player well in SafeBuild
Set a location - Instead of the leash working from your distance, it goes by the co-ordinates you put in
Set if the player can drop items
Set if the player can teleport
Set if the player can use commands
Set if the player gets your inventory to help you build
Limit the players movements to a worldguard region
If either of you log off, SafeBuild gets cancelled
No jerky movements when you get to the end of your leash
Commands
Command
Description
Permission
Defaults
/SafeBuild
Show your current condition(If you're watching anyone/being watched)
SafeBuild.Info
true
/SafeBuild Help
Shows the help screen
SafeBuild.Help
OP
/SafeBuild Variables
Shows how to use all the variables for SafeBuild
SafeBuild.Variables
OP
/SafeBuild <PlayerName>
Puts the player in SafeBuild with you as the watcher
SafeBuild.Use
OP
Variables
Variable
Value
Description
Default
Example
leash
Number
How far the player can move(If 0 or is not specified, then there is no leash)
0
leash:50
speed
Number
How fast the player can fly(Max of 10, Min of 1)
1
speed:3
loc
x,y,z or "here"
Where is the player's leash centered(Centers leash to the watcher if not specified)
Where ever the watcher is(Changes when the watcher moves)
loc:0,100,0 or loc:Here
drop
true/false
Can the user drop blocks/items
False
drop:true
use
true/false
Can the user interact with blocks with inventories(Chests, Furnace, Etc)
how can I change variables for a player ?
I tried the command /safebuild player_name drop:false But this show in chat: "You're no longer watching player_name."
SafeBuild v0.4 Adds McStats and an Updater. The file can be downloaded when the Bukkit Dev Staff approve the file, or from my website(Files are not watched by bukkit staff and could be considered unsafe).
very nice plugin, however would it be possible to add an option to add worldedit/worldguard into this leash? so it adds the node/turns on when in range and removes the node/turns off when out of range and so on? and maby a area in config to place the nodes you want it to add/remove etc.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Can you add another permission node so that it's possible to allow specified players/ranks to put themself into SafeBuild mode and not others?
@piritacraft
ATM there is no way to change the variables you have on him, so u have to set them a when you watch him, although I will add support for that
how can I change variables for a player ? I tried the command /safebuild player_name drop:false But this show in chat: "You're no longer watching player_name."
SafeBuild
SafeBuild v0.4 Adds McStats and an Updater. The file can be downloaded when the Bukkit Dev Staff approve the file, or from my website(Files are not watched by bukkit staff and could be considered unsafe).
@vampirictorch
Added WorldGuard support, I'll add permissions support in a future update
very nice plugin, however would it be possible to add an option to add worldedit/worldguard into this leash? so it adds the node/turns on when in range and removes the node/turns off when out of range and so on? and maby a area in config to place the nodes you want it to add/remove etc.