DeltaCore - API for all Delta plugins icon

DeltaCore - API for all Delta plugins -----

An API & Dependency for all Delta plugins



1.2.0 and 1.3.0 Development Update
1.2.0
* Added args option to the @CommandInfo annotation so you no longer need to make argument checks to get a variable.

Your code will go from this:
Code (Java):
@CommandInfo (name = "thecommand" )
public class ExampleCommand extends Command {
    @Override
    public void onCommand (CommandSender sender, String [ ] args ) {
        if (args. length == 0 ) {
            sender. sendMessage ( "/thecommand <player>" ) ;
            return ;
        }
       
        String player = args [ 0 ] ;
        // And so on..
    }

}
To this:
Code (Java):

@CommandInfo (name = "thecommand", args = { "player", "message" } )
public class ExampleCommand extends Command {
    @Override
    public void onCommand (CommandSender sender, String [ ] args ) {
        String player = args [ 0 ] ;
        String message = args [ 1 ] ;
        // And so on..
    }
}
 
And when you don't provide the argument it will return something like this:
https://gyazo.com/b41d5970d8aa3f5a139e2dac5783922d

1.3.0
* Refactored the API from club.deltapvp.deltacore.api to just club.deltapvp.api
* Halved the size of the plugin from around 600kb to 300kb

If your project depends on DeltaAPI, I am sorry in advance.
If you own one of our plugins, please wait a bit for a plugin update to update DeltaCore to the new version.
----------, Nov 16, 2021
Resource Information
Author:
----------
Total Downloads: 690
First Release: Jul 15, 2021
Last Update: Nov 16, 2021
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings