Skip to content

Releases: drupijs/Drupi-JS

New command method and scripts are now sorted

20 Jan 12:01

Choose a tag to compare

New command method:

command.create("testCommand", {
    prefix: "Drupi",
    description: "Test command for the new command method",
    usage: "/testCommand",
    aliases: ["test"],
    permission: true, //Boolean = require OP || String = permission
    permissionMessage: color("&cWhoups, it looks like you don't have permissions to this command!"),
}, (sender, args) => {
    sender.sendMessage("Hi!");
});

Added http.put and http.delete

07 Jan 08:44

Choose a tag to compare

Added

  • http.put
  • http.putWithHeaders
  • http.delete
  • http.deleteWithHeaders

Suggested by iGalaxy#2018

Fixed Event.removeListener and expansions

02 Jan 08:44

Choose a tag to compare

0.3.1

Fixed Event.removeListener and expansions

Drupi can now load external apis!

28 Dec 22:15

Choose a tag to compare

Example: https://stacket.net/drupi/modules/vault

Changelog:

  • Added "asClass" to castManager
  • Removed vault from Drupi (Use the module instead)
  • Added addListenerExternal to eventManager
  • Added getClassLoader to functionManager
  • Added loadExternal to functionManager
  • Added getPluginFile to functionManager

Added 1.15 support and a new compiler!

11 Dec 19:53

Choose a tag to compare

New compiler and settings!

Important!
Remove your utils.js file before updating!

Tons of new features!

07 Dec 08:05

Choose a tag to compare

Drupi 0.2.0 is finally out and it comes with a ton of new features!
Drupi is now under the Stacket name, which means that we are looking for more developers to work on the project.
The new website can be found at https://stacket.net/drupi, as well as the brand new module system and documentation.
The old website https://drupi.js.org/ will redirect to the new page.

Important!
For everything to function correctly, delete utils.js and config.yml inside of the Drupi plugin folder before installing it!

Libs are being replaced by modules, meaning they will no longer function.
To convert your libs into modules, check out this example: https://stacket.net/drupi/modules/examplemodule
You can generate a package.json for your module at https://stacket.net/drupi/modules/generate and upload it at https://stacket.net/drupi/modules/new.

Changes:

  • ES7 support (Babel)
  • Module system
  • New website
  • Better documentation
  • New event handler/listener
  • New command register
  • Recursive scripts loading
  • New Drupi command handler, with more information
  • Native javascript support
  • Added console.log and console.warn
  • Cast manager now supports custom types (cast.as)
  • New command manager
  • Removed libs folder and support.
  • New Drupi command permissions
    /drupi reload - drupi.reload
    /drupi modules - drupi.modules
    /drupi install - drupi.install
    /drupi update - drupi.update
    /drupi info - drupi.info

Http server integrated

01 Nov 20:23

Choose a tag to compare

Now added ExpressManager

Evaluate code

21 Oct 10:23

Choose a tag to compare

Example:

var scriptFile = manager.getFile("scripts/test", "test.js");
manager.eval(scriptFile, function(){
    logger.info("Done.");
});

LabyMod api integration and update checker fixed

01 Oct 14:55

Choose a tag to compare

Libs and bug fixed

18 Aug 01:20

Choose a tag to compare

CreateConfig bug has now been fixed!
If there is a folder called libs inside of the drupi folder, it will now load that before the scripts folder! (Great for community libraries)