Skip to content

Releases: bluelhf/BytePaper

🍂 Autumn clean-up

29 Oct 14:34
Compare
Choose a tag to compare

This release updates BytePaper to Paper 1.20.2, fixes bugs with commands and removes automatically generated properties.

⚠️ Breaking Changes

  • Properties (x of {my-location}) are no longer generated automatically. This removes unintuitive behaviour and reduces the number of strange errors, but also breaks scripts that used properties that are now no longer included. If a script breaks after upgrading to 0.4.1, please make an issue for it on the issue tracker.

What's Changed

  • Command arguments now work even if there are many variables (thanks @dirtboll!)
  • Fatal errors in commands are now logged properly.
  • Text strings ("hello!") can now be used in place of entity types, and entities in place of locations:
    set {foo} to "zombie"
    loop {e} in all {foo}s: # text in place of an entity type
        broadcast x of {e} # entity in place of a location
  • BytePaper now runs on Paper 1.20.2
  • ByteSkript has been updated to version 1.0.40

New Contributors

Full Changelog: v0.4.0...v0.4.1

More events, more fixes!

22 Aug 13:43
Compare
Choose a tag to compare

What's Changed

Updated to 1.19.2!
⭐ Updated to ByteSkript 1.0.36, fixing reloading (again!) (Thank you @Xamez for the bug report)
⭐ Fixed a bug where /bp clean would throw an exception (Thank you @Xamez!) #4
⭐ Made the scripts directory auto-generate on server start (Thank you @Xamez! #6
⭐ Add more player-related events (Thank you @Xamez!) #7
(Actually completely revamps event registration)
⭐ Unnoticable improvements to logging.

New Contributors

  • @Xamez made their first contribution in #4

Full Changelog: v0.3.0...v0.4.0

Reload support & work on stability!

16 Jul 12:38
Compare
Choose a tag to compare
Pre-release

Version 0.3.0 is here, with some much anticipated features!

  • Reload support! I finally found the ByteSkript issue that was causing reloads to fail. They now work! This does use a dirty little hack though; we'll have to wait for ByteSkript to update before it can be done properly.
  • ⭐ Automatic resolution of file extensions! /bsk load test will now also look for test.bsk!
  • ⭐ A bunch of syntax for interacting with blocks and directions!
  • ⭐ The /bp clean subcommand, which cleans the compiled scripts directory.
  • ⭐ An improved tab completer, with less wrong completions :)
  • ⭐ You can no longer accidentally disable the language script... That was bad!

Work towards a stable release is slow — this is still very much a pre-release, but 0.3.0 is a very large release with lots of changes (including API changes, but we're at major version zero, so that's expected). BytePaper's current state is as follows:

  • We're using many hacks to work around bugs in ByteSkript. As those bugs are fixed on ByteSkript's side, we'll be able to update BytePaper as well.
  • The error reporting system needs a lot of work on both ByteSkript's and BytePaper's side. It is a goal to improve that further.
  • BytePaper's Paper support is still minimal. It is a goal to add extra functionality.
  • The property system is imperfect, and doesn't support auto-boxing (this is an issue with ByteSkript as well). I'm considering removing the automatic property system altogether.
  • Documentation is still lackluster, many syntaxes simply do not have documentation. It is a goal to improve this as well.
  • The code reminds me of a tasty Carbonara in that it is mostly spaghetti. It is a goal to improve the readability and flesh out the details of BytePaper.