BeginnerLib 1.1

A library for Bukkit beginners

  1. shadowcoco141
    Contributors:
    shadowcoco141
    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:
    Code (Text):
    BeginnerLib.broadcast("message");  

    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!
    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
    Code (Text):
    BeginnerLib.kickAllPlayers("reason");


    Description: Kicks all online players with the given message.
    Code (Text):
    BeginnerLib.killAllPlayers();


    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.
    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.
    Code (Text):
    BeginnerLib.resetNickName(player);


    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.

Recent Updates

  1. v1.1

Recent Reviews

  1. TheMrQuake
    TheMrQuake
    5/5,
    Version: 1.1
    Thanks! Good Plugin!
  2. Bolean
    Bolean
    5/5,
    Version: 1.0
    Very` nice i like it it help alot in me
    I'm new in coding
  3. FroxyDev
    FroxyDev
    1/5,
    Version: 1.0
    very basic
    1. shadowcoco141
      Author's Response
      It's a bit basic right now. But I'll be adding new methods as I update this library.
  4. SuperSniper
    SuperSniper
    4/5,
    Version: 1.0
    This is actually pretty nice for those beginners like me!
    Im really used to the Bukkit API though so I wont be using this for my own good :P
    1. shadowcoco141