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