BeginnerLib is a library made for people who are new to the bukkit api. I made this library while trying to teach my brother Java and bukkit. Now I've decided to release it.
Note: This plugin is NOT related to beginnerAPI
How to use it:
1. Add BeginnerLib.jar to your plugins build path.
2. Import the main class (Most IDEs, such as eclipse, have an auto-import feature that automatically imports the class once you add a BeginnerLib method).
3. Add depend: [BeginnerLib] to your plugin.yml
4. Start coding!
Methods:
Note: This plugin is NOT related to beginnerAPI
How to use it:
1. Add BeginnerLib.jar to your plugins build path.
2. Import the main class (Most IDEs, such as eclipse, have an auto-import feature that automatically imports the class once you add a BeginnerLib method).
3. Add depend: [BeginnerLib] to your plugin.yml
4. Start coding!
Methods:
Spoiler: Methods for the API
Code (Text):
BeginnerLib.broadcast("message");
Description: Broadcasts a message to the entire server.
Description: Broadcasts a message to the entire server.
Code (Text):
BeginnerLib.executeCommand(player, "command");
Description: Force a player to execute a command. Replace player with event.getPlayer() if you want to use the player from the event. NOTE: Do NOT include a "/" (slash) in the "command" part!
Description: Force a player to execute a command. Replace player with event.getPlayer() if you want to use the player from the event. NOTE: Do NOT include a "/" (slash) in the "command" part!
Code (Text):
BeginnerLib.kick(player, "reason");
Description: Kicks the specified player with the given reason.
Note: Use event.getPlayer() in the player part to use the player from the event
Description: Kicks the specified player with the given reason.
Note: Use event.getPlayer() in the player part to use the player from the event
Code (Text):
BeginnerLib.kickAllPlayers("reason");
Description: Kicks all online players with the given message.
Description: Kicks all online players with the given message.
Code (Text):
BeginnerLib.killAllPlayers();
Description: Kills all online players.
Description: Kills all online players.
Code (Text):
BeginnerLib.killPlayer(player);
Description: Kills the specified player. Use event.getPlayer() to use the player from the event.
Description: Kills the specified player. Use event.getPlayer() to use the player from the event.
Code (Text):
BeginnerLib.nickName(player, "newName");
Description: Gives the specified player a new name in chat and in the tab list. Use event.getPlayer() in the player part to use the player from the event.
Description: Gives the specified player a new name in chat and in the tab list. Use event.getPlayer() in the player part to use the player from the event.
Code (Text):
BeginnerLib.resetNickName(player);
Description: Resets the specified players nick name. You can use event.getPlayer() to use the player from the event.
Description: Resets the specified players nick name. You can use event.getPlayer() to use the player from the event.
Code (Text):
BeginnerLib.executeCommandAsOp(player, "command");
Description: Force the specified player to execute the given command as an op.
Description: Force the specified player to execute the given command as an op.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
BeginnerLib is a free Minecraft Java mod. Downloaded 243 times (via Spigot). Download it and open it directly in the game.