parent
404860e8bb
commit
454b0d717f
10
README.md
10
README.md
|
@ -16,6 +16,10 @@ Usage
|
|||
|
||||
Sets spawn location.
|
||||
|
||||
/bed
|
||||
|
||||
Teleports player to their bed
|
||||
|
||||
Permissions
|
||||
-----------
|
||||
|
||||
|
@ -31,6 +35,12 @@ Permissions
|
|||
|
||||
works if opped
|
||||
|
||||
/bed
|
||||
|
||||
easyspawn.bed
|
||||
|
||||
by default this works for non-opped players
|
||||
|
||||
Source code be found
|
||||
[here](https://github.com/jimmy1248/EasySpawn)
|
||||
on github.
|
|
@ -6,13 +6,7 @@ import org.bukkit.entity.Player;
|
|||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
public class EasySpawn extends JavaPlugin{
|
||||
@Override
|
||||
public void onEnable() {
|
||||
getCommand("spawn").setExecutor(this);
|
||||
getCommand("setspawn").setExecutor(this);
|
||||
getCommand("bed").setExecutor(this);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean onCommand(CommandSender sender, Command command,
|
||||
String label, String[] args) {
|
||||
|
|
Loading…
Reference in New Issue