Skip to content

syylaxx/RockWrap

Repository files navigation

Easy, flexible and high-level scripting wrapper!


🔎 WHAT'S PURPOSE?

RockWrap is a scripting wrapper written in TypeScript, to simplify some of your work, by using some of high-level methods or create your own server wrapper with this.

Our wrapper includes custom event system, API to send webhooks to your Discord cannel, methods converted from default slash commands to API and much more!

🪨 START USING OUR WRAPPER!

  1. To start using our wrapper, download our repository, then insert it into your scripting folder.
your-addon/
├── src/
│   ├── api/
│   │   └── @rockwrap/
│   └── core/
│       └── > Scripts
├── manifest.json
└── > Other files.

Tip

You can put our wrapper into api or wrapper folder, for better import readability.

  1. Start using our wrapper!
import { world } from "@minecraft/server";
import { BeforeEvents } from "api/@rockwrap/minecraft";

BeforeEvents.MessageSent(({ message, cancelEvent, player }): void => {
    // Cancels out the event.
    cancelEvent();

    // Override default message.
    world.sendMessage(`§f${player.name} §8» §7${message}`);
});

Tip

We recommend checking out our documentation, to make development with our API even easier!


📚 RESOURCES

Important

Documentation: Documentation

Tip

Tutorials for beginners: Tutorials


📌 CONTRIBUTORS

Here you can find everyone, who helped with wrapper development process.

About

The RockWrap

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •