DCommands v1.0

Create your own commands for your server, without having to make plugins!
--------- DaxxieeCommands ---------
---------- DCommands --------
--------- DaxxieeCommands ---------

Features
The plugin DCommands features many cool features! Some of these features include:
  • Custom Commands
  • Custom Placeholders
  • Custom events based on commands

Commands
The plugin DCommands comes with few built-in commands. These include commands like:
  • /DCommands | Displays plugin information
  • /DCommands Help | Displays plugin help page
  • /DCommands Reload | Reloads plugin based on config

Placeholders (Variables)
The placeholders (variables) of DCommands are really what makes the plugin what it is. Here are a list of placeholders on DCommands:
  • %name | Replaces with the IGN of the command executor
  • %displayname | Replaces with NickName of command executor.
  • %[number] | Replaces with an argument used. (See Config)
  • %delay-[number] | Waits [number] seconds before running CMD
  • %message | Sends a message to the player
  • %broadcast | Broadcasts a message to the entire server
  • %console | Runs [int] from console
  • Suggest more below!

Config
The config.yml of DCommands is where ALL the action happens. Below is a config.yml example, created by me.
Code:
# Plugin DaxxieeCommands Version ALPHA[/SIZE][/FONT][/COLOR]
[SIZE=4][FONT=Droid Sans][COLOR=rgb(44, 44, 44)]# Made by @Daxxiee
# Need support? Contact me on Spigot!
commands:
# Here is an example broadcast command
  /dbroadcast:
    permission: dcommands.broadcast
    commands:
    - '%broadcast &cDBroadcast &8» &f%0'
# Here is an example /say command
  /say:
    permission: dcommands.say
    commands:
    - '%broadcast &c%name &8» &f%0'
# Here is an example console command
  /consolecommand:
    permission: dcommands.consoletest
    commands:
    - '%console restart'
    - '%broadcast &cDCommands &8» &fRestarting server through console because the command /consolecommand was ran!'
# Here is an example command with %1
  /hi:
    permission: dcommands.say
    commands:
    - '%broadcast &f%name says hi, %1!'
# Here is an example delayed command
  /delayedtest:
    permission: dcommands.say
    commands:
    - '%delay-3 %broadcast &cDCommands &8» &fThis command was delayed by three seconds!'


Developer API
To use the Developer API, first
Code:
 import me.matt.daxxieecommands.main;
And then you can do different things.
Like,
Code:
 DCommands.doCommand(player, command);
Code:
 DCommands.getconfig().getConfigurationSection("commands").getKeys(false))

Terms of Service[/SIZE]
By downloading this plugin you agree to:



    • NOT Decompile DCommands
    • NOT Re-Distribute and claim as yours
EULA: Standard EULA
463 Views
14 Downloads
May 16, 2016 Published
May 16, 2016 Updated
Not yet rated
7.1 KB File size
Creator
Owner
Recommended for you
Prevents your server from crash packet exploits
5.00 star(s) 83 ratings
1,977 purchases
Elite formatting and filtering plugin. Can replace 200+ plugins. High-performance. Folia supported.
5.00 star(s) 102 ratings
1,970 purchases
High Performance | Customizable | Cross-Version | GeyserMC | Folia Support
5.00 star(s) 54 ratings
1,707 purchases
Premium mobcoins plugin
5.00 star(s) 26 ratings
1,135 purchases
Easily add new mobs & AI to Minecraft (without datapacks or scripts).
5.00 star(s) 43 ratings
904 purchases
463 Views
14 Downloads
May 16, 2016 Published
May 16, 2016 Updated
Not yet rated
7.1 KB File size
Creator
Owner
Recommended for you
Prevents your server from crash packet exploits
5.00 star(s) 83 ratings
1,977 purchases
Elite formatting and filtering plugin. Can replace 200+ plugins. High-performance. Folia supported.
5.00 star(s) 102 ratings
1,970 purchases
High Performance | Customizable | Cross-Version | GeyserMC | Folia Support
5.00 star(s) 54 ratings
1,707 purchases
Premium mobcoins plugin
5.00 star(s) 26 ratings
1,135 purchases
Easily add new mobs & AI to Minecraft (without datapacks or scripts).
5.00 star(s) 43 ratings
904 purchases
Top
You need to upgrade!
Our dark style is reserved for our Premium members. Upgrade here.