Coder Social home page Coder Social logo

bytepaper's Introduction

BytePaper

GitHub release (latest SemVer including pre-releases)

BytePaper is a ByteSkript library and Paper plugin that bridges the gap between the Minecraft server and the ByteSkript language. It allows you to compile and run ByteSkript scripts (.bsk) that interact with your Paper server, all from in-game commands.

We're still improving!

ByteSkript is a fairly young project, and BytePaper even younger than that. As such, many Skript syntaxes may not be available in BytePaper. If there's one you'd like to see, leave a feature request and we'll get to work adding it ASAP!

Usage

Using BytePaper is simple!

  1. Download the .jar file, and place it in your server's plugins directory
  2. (Re)start your server
  3. BytePaper is now installed! You'll find that a new scripts directory has been created in the plugins/BytePaper/ directory. This is the home of all of your future scripts.
  4. Create a new file with a name ending in .bsk in the newly created directory. This is your first script!
  5. Open the script file in your favourite text editor, and write the following code:
    on script load:
     trigger:
       send raw "Hello, world!" to console
  6. Join your server and run /bp load <your file's name>
  7. Look at your server console, and notice the message you wrote!

Coming from Skript?

If you've gotten used to the SkriptLang implementation of the Skript language, you've come to the right place! ByteSkript is like Skript, but it's compiled to Java bytecode, making it much faster! There are also some syntactical differences, but you'll get used to them quite quickly.

bytepaper's People

Contributors

bluelhf avatar xamez avatar dirtboll avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.