Langue

ActionLib [Open Source]

ActionLib [Open Source]

SpigotMC

Perform actions on players.

471 téléchargements
dernière v1.0.4 SpigotMC
1.8 – 1.12
[​IMG]
Perform actions on the players

*Please, take in account that the API of the plugin is in Beta version so probably it will be changed

About:

ActionLib is a simple but complete plugin to execute customizable actions on players when certain event occurs. You can use this resource for example in a minigame, when a player wins send a congratulations title and give diamonds.
The plugin includes a powerful API to create addons, send actions and more utils.
  • ActionBar: Send an ActionBar to the player.
  • Ban: Ban the player.
  • Broadcast: Broadcast a message for the whole server.
  • CancellEvent: (Only use in some ocations) Cancell the event.
  • ChangeGamemode: Change gamemode of the player.
  • ForceChat: Force the player to chat certain message.
  • Give: Give an item to the player (Highly customizable).
  • Kick: Kick the player from the server.
  • Kill: Kill the player.
  • Message: Send a message to the player.
  • SetFlying: Make the player can fly.
  • Teleport: Teleport the player to a certain location.
  • Title: Send a title and/or subtitle.
  • VaultGive: Give money to the player.
  • VaultTake: Take money from the player's account.
    A lot of more soon!

Installation:
You can install the plugin like the others. Simply place the jar in the plugins folder and restart the server.
Then, you can configure the config.yml file at your own needs.
If you want to install addons just place them in plugins/ActionLib/addons folder and restart the server.
Code (Text):
#Welcome to ActionLib's config
#More info at https://www.spigotmc.org/wiki/actionlib/
#Developed by SrAldeano (MarkelM16)
events:
#   These actions will be fired when some of the event occur
#   You can use the following events: join, kill, fish, first-join, tame, chat, first-join, leave, death and teleport.
    join:
        - '[Message] Welcome again %player% to the server!'
        - '[Give]' :
            type: STONE
            amount: 4
    kill:
        - '[VaultGive] 30'
    fish:
        - '[Broadcast] &6%player% catch a fish!'
    first-join:
        - '{Welcome}'

actions:
#  Create action-packs, send them using {YourPack}. *Names can be custom but not repeated
   KillPlayer:
        - '[Kill]'
        - '[Message] You died by mistycal powers.'
   Welcome:
        - '[Broadcast] &a&l%player% &bis new on the server!'
        - '[Title]' :
            title: '&6Welcome to our server'
            subtitle: '&3Have a great time!'

Commands and perms:
*Permission for all the commands is actionlib.admin
Commands:

/actionlib
Shows the commands of the plugin.
/actionlib testaction (Action) [Arguments]
Perform an Action on yourself.
/actionlib about
About the plugin (Version, author...)
/actionlib addons
Get the loaded addon list
/actionlib reload
Reload the config file

Help me with the development of the plugin by adding some lines to the code ;)
[​IMG]
Credits to @AlphaHelix because my addon system is based on his system and to Slikey (The plugin idea come from his EffectLib)

Click here to go to the WIKI


Please, read the whole Wiki and try asking me help before creating a bad review, thanks!

Versions

Release
1.0.4
·
2
Release
1.0.3
·
4
Release
1.0.2
·
10
Release
1.0.1
·
3
Release
1.0
·
5

Commentaires 0

Aucun commentaire pour l'instant. Sois le premier à donner ton avis.

Télécharger ActionLib [Open Source]

Les fichiers proviennent directement de la source d'origine. Modgrid ne les héberge ni ne les modifie.