Orestack [1.16 - 1.21] [80% OFF] | Regenerating RPG Resources | icon

Orestack [1.16 - 1.21] [80% OFF] | Regenerating RPG Resources | -----

Create regenerating blocks and structures with customizable harvesting and growth stages




- Added "languages/zh.yml"
- Added "languages/fr.yml"
----------, Feb 21, 2025

- Added leaves option for bamboo:
Code (YAML):
bamboo-leaves : small, large, none
- Added idle option for generator stages:
Code (YAML):
idle : true or false
WARNING when an idle generator is mined you must set a new stage manually with setStage, nextStage or previousStage

- Fixed generator stage chance logic

- You can now set the chance on the last stage

- Fixed setStage, nextStage, and previousStage actions not being registered

- Added "generators/crops/bamboo.yml" example
----------, Feb 18, 2025

Slabs are now supported with parameter:
Code (Text):
slab-type: bottom, double or top
or with command /orestack structure save name.yml

Reduced jar size by around 1.3mb
----------, Feb 8, 2025

New block options:
Code (YAML):
open : true or false   # for doors, trapdoors etc...
half
: top or bottom   # for blocks that are 2 blocks tall and stairs facing up/down
stair-shape
: straight, inner left, inner right, outer left or outer right
door-hinge
: left or right
bed-part
: head or foot
All of these can be added manually or with the command /orestack structure save name.yml after having selected the area.
----------, Feb 7, 2025

- Fixed a small bug where it would say world not found with name: 'world' which would crash the plugin
- If you're updating from <3.20 read the last changelog
----------, Feb 7, 2025

This update completely changes how you write functions and actions, it also adds some new actions like: 'return|stop' and 'cancel-event'.

How to update:
- Backup your generators and everything you want to save.
- Delete generators in folder and regenerate examples.
- Update your old generator functions to use the new system, and put them back in the folder.

I am sorry for the inconvenience, this should be the last time when an update breaks older versions so severely.

I will update the wiki completely later today, in the meantime here is an example of the changes:
Code (YAML):
# BEFORE
on-break
:
  - if
:
     - [ has permission, orestack.generator.harvest ]
    do
:
     - [ give item, emerald ]
      - [ spawn particle at block, fire_ring ]
      - [ chat message, "You mined emerald!" ]
    or
:
     - [ cancel-event ]   # This action was only added in 3.21.0
      - [ chat message, "&4You don't have permission to mine this block!" ]
     
# AFTER
on-break
:
  - if
: hasPermission orestack.generator.harvest
    do
:
     - giveItem emerald
      - spawnParticleAtBlock fire_ring
      - chatMessage <You mined emerald!>
    or
:
     - cancelEvent
      - chatMessage <&4You don't have permission to mine this block! >

# AFTER, Another Example
on-break
:
  do
:   # These examples are for actions, but it is exactly the same with conditions
    - <chat message> <&aHere have an emerald!>   # if there is spaces you need to enclose it in <> brackets
    - chat_message NO!   # No spaces in the message so no need for brackets
    - chatMessage <Hello Everyone!>   # This is the preferred format but others are also viable
----------, Feb 5, 2025

- added support for sugar cane & cactus crops with examples (experimental but should work fine)
- fixed item enchantments not working in 1.21
- changed to an update checker compatible versioning
- fixed a visual glitch in structures (blocks are only updated if they change from one stage to the other, this reduces blocks changed as well)
- when you place a generator, if the first stage is just air/empty it will still spawn on the last stage not on the first.
- moved /orestack generator wand to /orestack wand since the wand is also used in /orestack structure
- wand now has two actions instead of one: left-click for first position and right-click for second position, this should make it faster to use
- added options in config.yml for generator-tool and wand-tool
- removed old options in en.yml for generator item and generator wand
----------, Feb 3, 2025

- added structure rotation, you can now rotate structure with item before placement
- structure rotation was added to the database, if you get any errors you might need to delete the data.mv.dk file (this will delete all placed generators in your world)
- fixed 'drop-items' which wouldn't work and added an alias: 'drop-item'
----------, Jan 31, 2025

- Fixed compability with 1.21
- Reduced jar size by almost 2mb
----------, Jan 30, 2025

Removed 'op command' action because it poses a security risk, you can find other plugins that allow you to make players execute commands as op safely.
----------, Jan 29, 2025

- added 2 commands:
/orestack structure save <file-path>
/orestack structure place
- bug fixes and other improvements
- added great_oak_tree.yml example
- you can now set the orientation of the block with 'orientation' parameter which can be set to: x, y or z.
- Since some blocks don't use direction but orientation. (like oak log)
----------, Jan 29, 2025

- For some reason config.yml wouldn't load correctly while enabling if the directories and files where absent. An exception would be thrown saying the language field was not set. (In reality the field was set but not loaded in memory) This would disable the plugin.
- Temporarly fixed with redundancy now calling OrestackPlugin#getConfiguration will load the data before returning. This is a temporary fix, I will look into the issue.
----------, Jan 28, 2025

- improved error messages
- improved logging in console
- added debug option in config.yml
- fixed language option in config.yml not working
- reworked how language system works internally
- InvalidConfigurationExceptions now look cleaner and are easier to read
- you will no longer get LangNotFoundExceptions, instead a warning will be sent in console and the default value will be used. The exception will only be thrown if a default value does not exist for that language tag. i.e. 'en'
----------, Jan 28, 2025

- added a structure system, now each stage may have a structure or a single block
- added placeholder support to: command, op_command, and console_command
- fixed a bug where reloading wouldn't regenerate missing folders, and files
- added 'generator-overlap' to language file (error message sent when two generators overlap since now you can have multi block generators)
- refactoring
----------, Jan 27, 2025

- Improved Database Performance:
- Switched to H2Database for better performance.
- Please note: generator data will be lost when updating to this version. This means any generators you had placed before will stop working. Sorry.
- You can safely delete the old `data.db` file and keep the `data.mv.db` file.
- Language File: - Added new language messages. Please regenerate your language file
- New Commands:
- `/orestack message send`
- `/orestack message broadcast`
- `/orestack sound play`
- `/orestack sound play-to`
- Other Improvements:
- Various fixes and improvements to the plugin.
- Fixed titles: the subtitle would be equal to the title and colors would not work
- added 'is_placeholder' condition
----------, Jan 26, 2025

- changes to certain condition/action names for better readability
- added the following conditions: has_exp, has_exp_level, has_item, has_played_before, is_flying, is_sneaking, tool_is_similar
- added action: take_item
- added fire_ring and fire_spiral in particles.yml
- You can now use range in certain conditions/actions i.e 'amount: 1-10'
----------, Jan 26, 2025

- for older versions check free resource page
- Compiled in java 16 and added support for 1.16.5
- No error message when mining generator in world guard region
- auto-save option added to config.yml
- added exp-to-drop option in generator stage configuration
- holograms don't spawn if chunk is not loaded
----------, Jan 25, 2025

Resource Information
Author:
----------
Total Downloads: 12
First Release: Jan 25, 2025
Last Update: Feb 21, 2025
Category: ---------------
All-Time Rating:
3 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings