MC-Market is now BuiltByBit. Read more

  • We're giving away $35,000 of prizes! Invite 2 friends to our Discord for free Premium! Learn more

DCommands 1.0

Register now to download for free
Create your own commands for your server, without having to make plugins!
Tags
Tags
None
--------- 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

Author

Daxxiee

Owner
Author
Daxxiee
Downloads
14
Views
391
First release
Last update
Rating
Not yet rated
Top
You need to upgrade!
Our dark style is reserved for our Premium members. Upgrade here.