Magic Plugin [ Inactive ] 1.0

Magic class system plugin, custom weapons and effects!
Supported software
Supported versions
Tags
Tags
api classes fighting magic pvp weapons
About:
Magic Plugin is a plugin with different classes which each has each own weapons and abilities. The images tell more in this case so go look under showcase.

Classes:
  • Artillery
  • Astral
  • Blockbuster
  • Necromancer
  • Yinyang
There is 28 different weapons/abilities.

Use case:
You can use this plugin to make your own games, use it with another plugin by using the plugins API or just use commands to control it. Could also be just used for server trolling.

How to use it?
To get started place the plugin in the plugins folder and start the server. To start using a class you need some permissions such as MagicPlugin.commands as well as MagicPlugin.<class name> (look at commands and permissions below). Each class will give you weapons "sticks" in your inventory which can enable each of of the abilities. Before using any of the classes you need to enter the magic mode with /mc enter, to exit do /mc exit.

Showcase:
giphy.gif

giphy.gif

giphy.gif

giphy.gif

giphy.gif

giphy.gif

giphy.gif

some examples.

Commands and Permissions:
/mc enter - enter magic mode.
/mc exit - exit magic mode.
/mc <magic class name> - switch to that class.

Admin and console commands:
/mc enter <username> - enter magic mode for a specific player.
/mc exit <username> - exit magic mode for a specific player.
/mc <magic class name> <username> - set a specific player to the specific class.

API:
Make sure to depend: [MagicPlugin]
Everything is accessed statically through MagicPlugin.

Code:
//Sets players mode (magic mode enabled/displayed).
//player - The effected player.
//isInMagic - true = magic mode enabled, false = magic mode disabled
void SetPlayerMode(Player player, boolean isInMagic)

//Sets players magic class.
//player - The effected player.
//magicClass - Name of the magic class.
//returns true if successful.
boolean SetMagicClass(Player player, String magicClass)

//Sets players magic class.
//player - The effected player.
//magicClass - Name of the magic class.
//notify - If true player will get a message for the class change.
//returns true if successful.
boolean SetMagicClass(Player player, String magicClass, boolean notify)

Example:
Code:
public void ChangeToRandomClass(Player player) {
    String[] classes = {"Artillery", "Astral", "Blockbuster", "Necromancer", "Yinyang"};
    Random r = new Random();
    String selectedClass = classes[r.nextInt(classes.length)];
    if(SetMagicClass(player, selectedClass, true)){
        // error couldn't set class
    }
}

Contact/support:
https://discord.gg/JBD3JYs7mn

If you need a specific thing added or a request in general join the discord and let me know!
Crediting original
alandioda

Latest reviews

The amazing plugin works amazingly on my server! Recommend to everyone.

Author

JernejTDO

Owner
Author
JernejTDO
Downloads
2
Type
Digital product
License duration
Unlimited
Price
5.00 EUR
Views
203
First release
Last update
Rating
5.00 star(s) 1 ratings
Top
You need to upgrade!
Our dark style is reserved for our Premium members. Upgrade here.