Commit Graph

370 Commits

Author SHA1 Message Date
Sn0wStorm
823f5a4204 Add StumblePercent #196 2020-11-11 16:29:33 +01:00
Sn0wStorm
5b8ab83734 Better Distiller Brew checking 2020-11-11 13:47:57 +01:00
Sn0wStorm
491da014b8 /brew give as alias for /brew create 2020-11-09 16:31:48 +01:00
Sn0wStorm
390f7fe765 Some changes to the Quality StringParser 2020-11-09 16:14:20 +01:00
Sn0wStorm
9553aa9fce
Merge pull request #295 from InflamedSebi/QualityCmds
Add Quality sensitivity for player and server commands
2020-11-09 13:41:51 +01:00
Sn0wStorm
9271d82eda When unloading world, only save if it has data 2020-11-09 13:18:49 +01:00
Sn0wStorm
e28cd72af9 1.16 Wood types for Barrels #330 2020-11-08 15:53:14 +01:00
Sn0wStorm
3fa16414d0 Store the item loaders on the plugin instance 2020-11-08 01:50:17 +01:00
Sn0wStorm
74171f78c9 Add default particle colors to config 2020-11-08 00:59:52 +01:00
Sn0wStorm
db1a425215 Color fading for Cauldron Particles 2020-11-07 22:37:32 +01:00
Sn0wStorm
29830e0405 Check Cauldron Block Type on Update 2020-11-06 14:52:19 +01:00
Sn0wStorm
3d9309e2d9 Added Particles to boiling Cauldrons 2020-11-06 13:59:36 +01:00
Sn0wStorm
c8a7a56ab9 ShowStatusOnDrink config option 2020-11-04 16:56:11 +01:00
Sn0wStorm
ec624ab3c7 Show drunkeness as ActionBar graphic 2020-11-04 16:14:32 +01:00
Sn0wStorm
4228bbc02c New general Barrel open perms checker + Towny 2020-11-03 21:28:50 +01:00
Sn0wStorm
95f59a5982 Some BDistiller cleanup 2020-11-02 17:12:15 +01:00
Sn0wStorm
af37f248ce Make loading of ingredients more reliable 2020-10-31 15:59:00 +01:00
Sn0wStorm
0e02355cca Use better Piston Retract Barrel check 2020-10-31 14:32:37 +01:00
Sn0wStorm
7c3d231b34 Add 1.16 Item Definitions. Soul Fire etc. 2020-10-31 14:05:33 +01:00
Sn0wStorm
1aae3340a3 Updated Dependencies for 1.16 2020-10-29 17:34:12 +01:00
Sn0wStorm
eeb9be74f9 Fix Alc Lore not updating properly #328 2020-10-29 17:02:53 +01:00
Sebi
54a939edad Fix missing param in BCauldronRecipe.java 2020-05-09 11:27:50 +02:00
Sebi
51cd582045 Fix for commands having a space after '+' like ' - ++ weather' 2020-05-08 16:21:16 +02:00
Sebi
dda1c6fb0a Fix git omitting half of the changes 2020-05-08 15:48:36 +02:00
Sebi
aab880e437 further abstraction and implementing quality on player and server commands
Add StringParser to parse a String to other formats on the fly or on a predefined base.

Rework Builder methods for server and player commands to allow quality.

Add getServercmdsForQuality() and getPlayercmdsForQuality().

Rework loadQualityStringList() to accept the new StringParser.

Add cmdParser and loreParser to the StringParser.
2020-05-08 15:19:26 +02:00
Sebi
adaeeed88c rework getLoreForQuality() to extract a more generic getStringForQuality() 2020-05-08 12:33:51 +02:00
Sebi
d3da0dbe14 change loadLore() to a more generic loadQualityStringList() 2020-05-08 12:17:58 +02:00
Sn0wStorm
5cc7116aee Version 2.1.1 + Config Updater 2020-04-13 23:57:50 +02:00
Sn0wStorm
b2d1af28cf Added stats & debug info commands 2020-04-13 22:25:26 +02:00
Sn0wStorm
786a3c5741 Added %quality% placeholder & Bottled Materials
issue #259
2020-04-13 13:52:57 +02:00
Sn0wStorm
2cd52955a0 Added Config option to disable MC Barrel Aging
issue #265
2020-04-13 12:01:41 +02:00
Sn0wStorm
8f7696cdb5 Implemented Custom Model Data
issue #246
2020-04-12 22:21:17 +02:00
Sn0wStorm
ef868fc7eb Fix Async Load Exception on 1.12 and lower 2020-04-12 18:06:03 +02:00
Sn0wStorm
e847672b81 Added MC Barrel Permission #222 2020-04-08 13:52:54 +02:00
Sn0wStorm
44310e0e36 Version 2.1 & Config Updater
Also Implements #229
2020-04-08 13:12:33 +02:00
Sn0wStorm
0e5893472b Added sealing command 2020-04-08 11:34:18 +02:00
Sn0wStorm
ce4e665fda Added ChestShop notification 2020-04-08 10:13:04 +02:00
Sn0wStorm
ccc0d019d5 Split World Data into seperate File
Allows for async WorldDataFile read and parse
2020-04-07 15:01:08 +02:00
Sn0wStorm
cae2b9dfff Implemented Async World-Data Loading
Uses Mutex to assure no concurrent loading and saving
Merges Loaded data in Main Thread
2020-04-07 12:45:55 +02:00
Sn0wStorm
f4bfdfa595 Added config options for Sealing Table
Translations for the Sealing Table
And a Data Tag for the Block
2020-04-06 10:51:44 +02:00
Sn0wStorm
12b0a3c115 Added Brew Sealing: Equalize Brews for Shops
Craftable Brew Sealing Table
Equalizes Brews that are similar, for support in Shop Plugins
Sealed Brews are also always unlabeled and immutable
2020-04-05 22:47:46 +02:00
Sn0wStorm
948b843b59 Fixed the MMOItems Error #253 2020-04-02 17:48:33 +02:00
Sn0wStorm
86f82f0a14 Make Cauldron Cooking start at minute 0
Fixes #256
2020-04-02 16:23:19 +02:00
Sn0wStorm
11c7fa1378 SQL Saving Fixes 2020-04-02 13:43:58 +02:00
Sn0wStorm
1266111f8a Implemented Playerdata DB Syncing 2020-01-29 15:39:02 +01:00
Sn0wStorm
00f541dafe Created Async MySQL Saver 2020-01-23 22:18:14 +01:00
Sn0wStorm
a9fedeab32 Fix BoundingBox Conversion
See #228
2019-12-13 22:16:17 +01:00
Sn0wStorm
e7a77bf2a1 Release Version 2.0 2019-12-13 13:23:40 +01:00
Sn0wStorm
9afeae7774 Fix Lore order when converting & 1.8 Regeneration 2019-12-13 11:43:37 +01:00
Sn0wStorm
214bb52939 Added more default recipes + small fixes
BStats shows that >75% of users don't add any recipes themselves. So even if I would have preferred not to, i've added more default recipes to make it easier for everyone
+Fixed Brew Create with space in name
+Changed look of Quality Stars (now with half-stars)
+Fixed Cauldron Recipe with Multiple Ingredients
2019-12-06 18:57:41 +01:00
Sn0wStorm
55200608c1 Language Updater: Put new lines at the end 2019-12-02 15:56:30 +01:00
Sn0wStorm
4f0b56e2dc Config updater for 2.0
+ config fixes & fix for unlabeled
2019-12-01 23:50:56 +01:00
Sn0wStorm
c6ea0cd493 Updated other Config and Language variations 2019-11-29 18:00:49 +01:00
Sn0wStorm
6577cbf628 Added Barrel Check for GamemodeInventories 2019-11-27 13:52:19 +01:00
Sn0wStorm
40da30bf8e Optimizing Barrel retrieve 2019-11-26 21:29:41 +01:00
Sn0wStorm
16c03f9da1 Added and Fixed lots of JavaDocs 2019-11-25 22:16:16 +01:00
Sn0wStorm
c287b6350f Moved some test code, optimized Distiller 2019-11-25 20:28:08 +01:00
Sn0wStorm
a5f73ceacc Inline updater for Language file 2019-11-25 15:36:48 +01:00
Sn0wStorm
3b9f9ae26d Added some more Custom Metrics Charts 2019-11-24 19:06:35 +01:00
Sn0wStorm
32b6c3c4b1 Tweaked performance of data save and campfire check 2019-11-24 16:06:17 +01:00
Sn0wStorm
a1c0116650 Make Metrics work again 2019-11-23 19:59:53 +01:00
Sn0wStorm
fa2a4974d8 Added Messages and Commands when drinking 2019-11-22 20:00:05 +01:00
Sn0wStorm
d0198c9f04 Convert pre 1.11 Brews (cosmetic) 2019-11-15 14:43:26 +01:00
Sn0wStorm
036657747c Only reload config if valid yml 2019-11-14 16:16:12 +01:00
Sn0wStorm
f483f03560 Handle Hoppers for Distillers and MCBarrels
Removed most mentions of Persistent
2019-11-14 15:46:15 +01:00
Sn0wStorm
3332354846 Added more API and features for Events 2019-11-13 22:07:22 +01:00
Sn0wStorm
48a15a0e82 Convert on Chest Open, delete lost legacy brews 2019-11-12 17:02:01 +01:00
Sn0wStorm
318963b379 Add/change recipes by plugin 2019-11-09 17:02:48 +01:00
Sn0wStorm
81ea014e45 Save Alc content on the Brew 2019-11-09 11:46:34 +01:00
Sn0wStorm
4c77944eb8 Find more suitable Data Structures 2019-11-08 16:22:58 +01:00
Sn0wStorm
7f2f9d75dd Rewrite of the Custom item into RecipeItem
and Ingredient with subclasses
Implemented adding custom items to Ingredients
Added support for plugin-items
2019-11-06 19:44:52 +01:00
Sn0wStorm
d0263c611c Added Custom Items and Cauldron-Recipes 2019-10-29 16:20:32 +01:00
Sn0wStorm
92977d2c8e Show the Alc content in the distiller/always 2019-10-22 10:32:48 +02:00
Sn0wStorm
7a6e361a8c Show stars in lore according to quality 2019-10-21 20:39:31 +02:00
Sn0wStorm
185f3d9b9b Find Barrel Blocks by BoundingBox 2019-10-21 18:47:19 +02:00
Sn0wStorm
2d3e5dfbac Implemented Custom Lore 2019-10-21 12:44:26 +02:00
Sn0wStorm
4909e59c90 Implemented NBT Saving
1.13: CustomItemTagContainer
1.14: PersistentDataContainer
2019-10-20 21:06:35 +02:00
Sn0wStorm
f431c13100 Load Scramble Seed key from Config
Remember all used Scramble seeds to unscramble potions
2019-10-18 16:30:03 +02:00
Sn0wStorm
437f521a9b Refractor Utility 2019-10-16 20:07:09 +02:00
Sn0wStorm
7d177a3d9f Refractor Barrel 2019-10-16 19:35:29 +02:00
Sn0wStorm
7c0dcefb1b Refractoring 2019-10-16 17:21:04 +02:00
Sn0wStorm
595df50ca5 We only need one ModifyEvent
Move PotionColor into its own Class
2019-10-14 21:02:59 +02:00
Sn0wStorm
b761e83882 More features for BrewModifyEvent 2019-10-12 16:07:02 +02:00
Sn0wStorm
d355966d42 Some more merge fixes 2019-10-12 14:47:01 +02:00
Sn0wStorm
4a1f606e99 Finalized Merge of 2.0-StoreDataInLore
Rebased onto Master Branch commit e5438e7ae3
And moved to new branch v2.0
2019-10-12 13:52:55 +02:00
Sn0wStorm
519c4821d9 Started api and events 2019-10-11 20:44:43 +02:00
Sn0wStorm
49fb0e3d82 Changed Lore Handling 2019-10-11 18:19:20 +02:00
Sn0wStorm
2fc0b32179 Change Parity of Scrambler 2019-10-11 18:06:18 +02:00
Sn0wStorm
562f96e4b1 Slightly larger En/Decoder buffers, isSimilar for Brew 2019-10-11 18:06:18 +02:00
Sn0wStorm
2121bf5c8a Added Parity/Sanity to Scrambling 2019-10-11 18:05:49 +02:00
Sn0wStorm
9bf3268fb4 Added XOR Scrambler for Brew data
Very fast obfuscator for brew data so that a client cant easily read it
2019-10-11 18:05:49 +02:00
Sn0wStorm
cdb36b1736 Save ingredients of Brews 2019-10-11 18:04:40 +02:00
Sn0wStorm
4b18dceada Implemented Lore Save system 2019-10-11 18:03:42 +02:00
Sn0wStorm
cdd50f8504 Optimized LoreStreams 2019-10-11 17:51:50 +02:00
Sn0wStorm
ca2c49ea08 Made En/Decode table static
Create a new En/Decoder Instance for each Stream
2019-10-11 17:51:33 +02:00
Sn0wStorm
3b7e019de3 Use " instead of \ for encoding 2019-10-11 17:51:33 +02:00
Sn0wStorm
ed40a1f608 Test storing and loading a brew from lore 2019-10-11 17:51:07 +02:00
Sn0wStorm
6311b9ed15 Split LoreIn/OutputStream
Implemented skip, mark and reset
2019-10-11 17:51:07 +02:00
Sn0wStorm
41fac3b08a Created LoreInputStream 2019-10-11 17:51:07 +02:00
Sn0wStorm
75d0f2f201 Started LoreOutputStream storing data with Base91 2019-10-11 17:50:41 +02:00