BasicsAPI

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

Codes:

 

Broadcast Messages:

BasicsAPI.Broadcast(message);

 Reset a players inventory:

BasicsAPI.resetInv(p);

 Clear the chat for a player:

BasicsAPI.clearChat(p);

 Clear the chat globally:

BasicsAPI.clearGlobalChat();

 When someone types not enough arguments then send him the right command:

BasicsAPI.wrongSyntax(p, rightcmd);

 Heal a player:

BasicsAPI.heal(p);

 Check if a player is in nether or end:

BasicsAPI.isInNether(p); | BasicsAPI.isInEnd(p);

Both return a boolean.

Message a player:

BasicsAPI.msgHim(p, msg);

Get a players live:

BasicsAPI.getLive(p);                                               It works best with BasicsAPI.showHealth(p, healthfrom);

Sends a player the live of the target:

BasicsAPI.showHealth(p, healthfrom);

Opens a players enderchest:

BasicsAPI.openEnderChest(p, target);

Switch gamemode:

BasicsAPI.setSurvival(p);   BasicsAPI.setAdventure(p);   BasicsAPI.setCreative(p);   BasicsAPI.setSpectator(p);

Open a players inventory:

BasicsAPI.seeInventory(p, target);

Resets a nick:

BasicsAPI.resetNick(p);

Sets a nick:

BasicsAPI.setNick(p, newNick);

Gives a player a players head:

BasicsAPI.giveSkull(p, skullowner);

Vanish a player:

BasicsAPI.vanishPlayer(p);

Unvanish a player:

BasicsAPI.unvanishPlayer(p);

Set sun:

BasicsAPI.setSun();

Set rain:

BasicsAPI.setRain();

Set thundering:

BasicsAPI.setThunder();

Opens a mobile workbench:

BasicsAPI.openWorkbench(player);

Teleport players:

BasicsAPI.teleport(player, target);

Force a user to perform a command:

BasicsAPI.sudo(victom, command);

 

This is the API version of my plugin "Basics".


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    269294
  • Created
    Jun 6, 2017
  • Last Released File
    Jun 12, 2017
  • Total Downloads
    476
  • License

Categories

Members

Recent Files