OneBlock ⭐ ItemsAdder & Oraxen blocks support ⚡ icon

OneBlock ⭐ ItemsAdder & Oraxen blocks support ⚡ -----

An attempt to recreate the OneBlock minigame.




  • /ob particle true/false (block particle indicator)
  • add Nexo blocks support (not tested)
  • ~ refactor
----------, Nov 30, 2024

  • visit offline players
  • fix idreset fall
----------, Nov 21, 2024

  • gui.yml/ Edit GUI messages.
----------, Nov 9, 2024

  • add Oraxen blocks support
  • ~
----------, Oct 28, 2024


ItemsAdder blocks support in blocks.yml
----------, Sep 13, 2024


- Improved the /ob kick command. Now she expels any player who is on the island. (well, except for the admin). Added a message about the successful expulsion.
- config.yml now works without overwriting user data. /ob reload now reloads config.yml. Now, before changing the configuration data, it downloads the current version from the folder and then changes the parameter and immediately saves the change.
- placeholders finally fixed?
----------, Aug 17, 2024

  • fix placeholder
----------, Jul 13, 2024

  • Now the barrier is set correctly even if you teleported to the player using commands other than this plugin.
  • ...minor changes and fixes
----------, Jul 12, 2024


- Rewrited chest system.
Now you can specify the name of the chest from chests.yml in blocks.yml. Now you can add any number of chests to chests.yml. p.s. If you do not specify the name of the chest by simply writing "chest", then everything will work as before.
- The default mob has been removed. (now you can completely remove spawn mobs)
----------, Jun 18, 2024

- All the latest github changes/
- fix border position (+0.5, +0,5)
----------, Jun 16, 2024

- fix /ob kick
----------, Mar 26, 2024

~ remove frequency
+ now the block is immediately updated when destroyed
+ fixed the area around the island for "/ob protection"
----------, Feb 15, 2024

+ The system for storing player data has been rewritten, completely replacing it with a uuid. It should work faster.
~ Save your PlData.json for rollback as a last resort.
----------, Feb 11, 2024

+ save by uuid
+ now on 1.13+ uses Material and for 1.12 and below XMaterial
+ fix typo in JsonSimple.java
+ fix ChestGUI errors //for premium
+ add saveplayerinventory (Keep player inventory after idreset)
+ update lib
----------, Dec 22, 2023


+ deleting mobs.yml and transferring to blocks.yml/.
...you need to add mobs to blocks.yml just like the blocks!!! otherwise, only creepers will spawn.

+ fix read message noperm_inv
+ removed conversion from leaf to leave
~ code refactoring/
----------, Sep 10, 2022


add WorldBorder per player (1.19+ Only)
/ob border true
/ob border false

~code refactor
----------, Aug 31, 2022

The system of counting the necessary blocks to move to the next level has been changed.
In addition to the multiplier, you can now set the value for each level separately. (in blocks.yml)
Fix formula ~
add Placeholder %OB_lvl_lenght%
----------, Aug 20, 2022


- asynchronous updating of players online every 5 seconds
- refactor
- ~
----------, Aug 12, 2022

optimize & minimize
----------, Aug 2, 2022



fix more null
----------, Jul 27, 2022

1.0.3f - fix gui error
----------, Jul 27, 2022

+ /ob gui
+ /ob top
+ invite gui

upload_2022-7-27_2-1-31.png
upload_2022-7-27_2-2-0.png upload_2022-7-27_2-3-16.png
----------, Jul 27, 2022

+ /ob UseEmptyIslands true
Now empty islands are overwritten.
+ optimize & improve /ob clear
+ code refactoring...
----------, Jul 4, 2022

lib update to support 1.19 materials
~ upstream
----------, Jun 15, 2022

fix null error
----------, Jun 4, 2022

//Since I was asked quite often, now you can change the messages...
+ add Messages.yml
//Limits the number of people on the island. (0 - unlimited)
+ add max_players_team
----------, May 29, 2022

+ mobs will now spawn in the middle of the block.
+ droptossup parameter (default: true)

//throws up a drop (item) above the block.
+ physics parameter (default: false)
#Apply physics to blocks? //for example: falling gravel
+ added more bstats metrics.
+ simplification of the code.
----------, Apr 30, 2022

+ fix custom islands (and now the islands are 7x5x7 in size) (/ob islands set_my_by_def)
+ add voidGen (/mv create OneBlock normal -g Oneblock)
+ empty placeholders (%ob_top_7_name%) in the top are replaced with [None]
----------, Apr 19, 2022

+ fix /ob clear for circlemode
+ now it's easier to build the plugin)
----------, Mar 24, 2022

The plugin was rebuilt using maven.
bstats has been integrated.
----------, Mar 20, 2022

+ /ob set leave now saves player location Yaw.
+ added a mode for creating islands in a circle:
/ob circlemode true

javaw_PwOlCjTMh8.png
----------, Mar 19, 2022

Fixed null exception when using the /ob leave command with the progress bar turned off.
----------, Mar 12, 2022



+ The invitation message has been corrected.
+ Re code Invitation.
+ Re fix save config 1.18

premium version...
----------, Feb 25, 2022

+ sorry
+ accidentally upload an old version of the plugin...
----------, Feb 24, 2022

fix save ob leave
----------, Feb 8, 2022

New:
  1. Modified data storage system. (Now the data is stored in json format) The data of the old format will be converted to the new one.
  2. Improved and changed the operation of invitations. Now the players on the island are divided into the owner of the island and the players invited by him. The owner of the island can expel players using the command '/ob kick nickname'. If the owner of the island resets the data (/ob idreset), one of the invited players will be appointed as the owner.
    • Teleportation back to the island now also works for each player and not every other time as before.
  3. New placeholders have been added.
    • %OB_owner_name% - The name of the owner of the island.
    • %OB_top_1_name% - The name of the player with the highest island level.
    • %OB_top_2_name%
    • ...
    • %OB_top_10_name%
    • %OB_top_1_lvl% - The level of the player with the highest island level.
    • %OB_top_2_lvl%
    • ...
    • %OB_top_10_lvl%
    • %OB_number_of_invited% - The number of people invited to your island.
----------, Feb 5, 2022

fix frequency save
----------, Jan 12, 2022

sorry 1.18 has been broken all this time...
----------, Jan 12, 2022

sorry 1.18 has been broken all this time...
----------, Jan 12, 2022

Bukkit decided to save configs with comments correctly starting from 1.18/ So my save code with comments broke at 1.18 and they were duplicated with each restart.
now fix.
----------, Jan 9, 2022

0.9.5 - Custom Blocks update
+ now you can spawn custom blocks (from mods or plugins) using the commands specified in blocks.yml
[​IMG]
for example:
- '/setblock %d %d %d IC2:blockOreCopper'
- '/setblock %d %d %d IC2:blockOreTin'
- '/setblock %d %d %d IC2:blockOreUran'
or
- '/setblock %d %d %d ic2:resource 4'

upload_2022-1-8_19-35-50.png
how to use:
you write the usual command to spawn any block where %d %d %d are the coordinates of x, y and z, respectively.
----------, Jan 8, 2022

some changes in the code
+ Now you can change the name of the maximum level in the blocks.yml config/
upload_2022-1-8_0-42-3.png
----------, Jan 7, 2022

String format changed for better performance.
/ob reload now reloads everything .yml files.
/ob set can now take values from -1000 to 1000
----------, Jan 3, 2022

Happy New Year 2022!!!
+ optimization
+ fix lvls bug
+ Placeholders:
%OB_next_lvl%
%OB_next_lvl_name%
----------, Dec 31, 2021

add %ob_player_count%
----------, Dec 17, 2021

- 1.18?
- add permission "Oneblock.ignoreBarrier"
----------, Dec 3, 2021

- Spelling corrections.
- Unused code has been cut out.
- ( NOT TESTED) added 'theoretical' support for blocks from itemsadder.
- Other improvements...
----------, Nov 20, 2021

Fixes and performance improvements.
----------, Oct 16, 2021

code optimization
----------, Oct 10, 2021

+ Now you can specify the color of the progress bar for each level separately! In the blocks.yml file, the second line (after the line with the name of the level)
----------, Sep 30, 2021


+public class PlayerInfo {}
The plugin was rewritten so that the information about the player was stored in a separate class and not on different objects. In this regard, performance has been improved. (Removed unnecessary checks)
----------, Sep 28, 2021

+ fixed the spawn of blocks without the progress bar. ops...
+ fixed multiple usage: /ob Progress_bar true (the progress bar is no longer duplicated)
~ changed the default config.yml
----------, Sep 27, 2021

fixed working with the progresbar turned off
----------, Sep 25, 2021

+ some messages have been changed.
+ "/ob leaf "replaced by" /ob leave"
+ added the default config.yml with comments.
+ added a class "Config.java" which allows you to save "config.yml" without deleting comments.
+ fix. "/ob islands set_my_by_def" now works normally for any set distance between islands...
----------, Sep 25, 2021

fixed the display of level 0 in the progressbar.
----------, Sep 18, 2021

+ support for the names of materials from 1.13+ in outdated versions (1.8 - 1.12)!
+ (1.8-1.12) now you don't need to change the name to "LOG" in blocks.yml, you can use "BIRCH_LOG" "OAK_LOG" as in 1.13+
+ (1.8-1.12) such materials as
- GRANITE
- DIORITE
- ANDESITE
, varieties of log and others are now available....

+ little fix TabComplete
+ now use "MELON_BLOCK" instead of "MELON" in block. yml
---- 1.7 does not work...
----------, Sep 16, 2021

+ improved onTabComplete()
[​IMG]
[​IMG]

+ changes in the code.
+ multicolored /ob ver ;)
----------, Aug 31, 2021

+ flowers.yml
+ the minimum frequency is now 4.
- the import of configs from outdated versions has been removed.
+ optimization
----------, Aug 29, 2021

added the " Oneblock.invite" permission
well, I also changed the name of the function in the code there was a typo) (it does not affect anything)
----------, Aug 24, 2021

Oneblock.Oneblock$ChangedWorld.PlayerChangedWorldEvent(Oneblock.java:178)
I hope everything is normal now)
----------, Aug 23, 2021

+ /ob clear... now it erases all player data from PlData. yml
+ now /ob autojoin also works when logging on to the server ((If the main world is OB) or you log back into the server in the OB world.)
----------, Aug 21, 2021

+ added permission "Oneblock.join".
+ now "/ob" is equivalent to "/ob join".
----------, Aug 14, 2021

+ /ob autojoin true - When players connect to the world with oneblock mode, they will automatically join it.
- simplifying the code?
----------, Aug 12, 2021

+ now the progress bar disappears when exiting the ob world.
+ fix work on 1.13/ ops...
----------, Jul 30, 2021

+/ob listlvl - displays a list of levels from blocks.yml
+/ob listlvl 12 -displays a list of blocks added at the level from blocks.yml

+ new placeholder %ob_lvl_name%
+ code optimization
----------, Jul 27, 2021

+ new blocks.yml
+ simplifications in the code.
----------, Jul 27, 2021

+/ob set 500 - now you can specify the distance between the islands when setting the location for the first island.
+other improvements.
----------, Jul 25, 2021

+ now items like a hoe or a sword are not combined in chests.
+ new chests.yml

+ improved performance
[​IMG]
----------, Jul 24, 2021

- support for importing player data from versions below 0.5 has been removed. (no one needs this anymore, right?)
+ /ob help
+ a small optimization of teleportation.
----------, Jul 20, 2021

Everything is clear from the table of contents, well, okay.
- fixed a bug related to the progress bar.
- added saving progress at the level and not just the level itself...
- and optimized the code for faster operation.
----------, Jul 3, 2021

Now, in the "blocks.yml" file, you can change the following:
- Name of Level
- Add any number of blocks at this level

More changes in the code...

Don't worry, your old "blocks.yml" will be converted to the new format.
----------, Jun 30, 2021

- /ob IDreset - Removes you from the player base. You will be able to create a new island.
----------, Jun 25, 2021

- now, when writing the /ob invite command, the names of players who are in the same world with ob are displayed.
- the command handler has been changed. "if() else if () else if ()" has been replaced with "switch case".
- simplified checking whether the player is under the regenerated block.



fix /ob leaf error for 1.7 - 1.8
----------, Jun 25, 2021

now commands are entered normally as in other plugins:
[​IMG]
----------, Jun 19, 2021

Now you can turn on the protection and players will be pushed towards their island when trying to get close to the other island.
/ob protection true
or to turn it off:
/ob protection false

fix
ed bugs related to legacy versions.

added the inscription 1.17+ to the command /ob ver
Xd
----------, Jun 12, 2021

added commands:
/ob invite 'playername' - invites the player to the island.
/ob accept - to accept an invitation.

changes in code for example:
Bukkit.getOnlinePlayers()
replaced with world.getPlayers()
so now blocks are restored only for players in the same world with ob.

maybe I changed something else.
----------, Jun 8, 2021

+ Now you can save your island and use it as default for new players! (Island size 7x3x7)
- /ob islands set_my_by_def - sets your island as default for new players.
- /ob islands default - resets the custom island and sets the default.

[​IMG]
p.s. does not support legacy versions...
----------, May 6, 2021

Now support:
- super legacy(without the progress bar):

- 1.7
- 1.8
- legacy:
- 1.9
- 1.10
- 1.11
- 1.12
- normally:
- 1.13
- 1.14
- 1.15
- 1.16+

-fix /ob leaf( But I'm not sure :-)
-fixed something else...
----------, Apr 21, 2021

+ Now you can use placeholders in the progress bar text!
[​IMG]
Code (Text):
/ob progress_bar settext %OB_lvl% lvl now. Need block to next lvl %OB_need_to_lvl_up%.
+ add command:
/ob chat_alert
+ add placeholders:
%OB_ver%
%OB_lvl%
%OB_break_on_this_lvl%
%OB_need_to_lvl_up%
+ fix
----------, Apr 16, 2021

+ Now you can use placeholders in the progress bar text!
[​IMG]
Code (Text):
/ob progress_bar settext %OB_lvl% lvl now. Need block to next lvl %OB_need_to_lvl_up%.
+ add command:
/ob chat_alert
+ add placeholders:
%OB_ver%
%OB_lvl%
%OB_break_on_this_lvl%
%OB_need_to_lvl_up%
+ fix
----------, Apr 16, 2021

now supported:
1.12 (You need to redo the config of the chests. And it is advisable to redo all the configurations.)
1.13 (ok??? the config works like... you can also redo it.)
1.14 (ok?)
1.15 (ok)
1.16 (ok)

+add mobs config.
+Reworked the mobs spawn system.

If something breaks, it's not my fault ...
----------, Apr 1, 2021

+ Now you can set the ob level to the players!
> /ob setlevel 14
+ Now you can reset the player's ob level and remove his island!
> /ob clear 'player'
+ Now you can set the level multiplier! The number of blocks that must be broken to get a new level is calculated using the formula: 16+level now*level multiplier.
> /ob lvl_mult 5
- fix rebirth.
----------, Mar 14, 2021

+ Now you can respawn on your island!
> /ob islands true
+ Now new players have an island instead of just 1 block! Of course this can be disabled)
> /ob island_rebirth true
+ Now you can change the color of the progress bar.
> /ob Progress_bar color PURPLE
- fix teleportation related to negative Z coordinate.

pls donate me/
ok?
----------, Mar 6, 2021

The bugs are finally fixed!
----------, Feb 6, 2021

trying to fix errors in the console.
----------, Feb 6, 2021

If everything works, you can skip this update.
----------, Feb 1, 2021

- the chance of spawning a flower or sugarcane has been slightly reduced.
- when reloading block.yml, the progress bar is not duplicated.
- maybe I fixed something else)
----------, Jan 31, 2021

+ spawn flowers, grass and sugarcane
+ fix
+ changed chests.yml
----------, Jan 28, 2021

...fixed bugs when using some nicknames.
+Now, not all blocks are updated, only blocks of players that are online.
----------, Jan 14, 2021

Changed the default frequency from 6 to 7
----------, Jan 12, 2021

+ /ob frequency "value" //less is better but lower tps (6 - 8 is recommend)
if you set it too high, players will die from falling)
+can now use /ob j instead of /ob join
----------, Jan 10, 2021

+improved performance.(Changed the way blocks are accessed.)
+fix 0.4.3 bug(fixed a bug related to level 0)
----------, Jan 7, 2021

I tried to improve performance without rewriting the main logic.
----------, Jan 6, 2021

Now you can change or add the contents of chests in the chests.yml file.
I tried to optimize something so that the performance should be a little better.
----------, Jan 5, 2021


I rewrote the code again.
add blocks.yml...
You can add more blocks:
'86': STONE
'87': ...
'88': ...
'89': ...
----------, Jan 2, 2021

All arrays with a limited number of elements have been replaced with ArrayList <>. Now there should be no problem with the number of unique players.
----------, Dec 21, 2020

Fixed teleportation. If the first block was in negative X coordinates, then teleportation broke for all blocks in positive X coordinates. This update does not bring anything other than this fix.
----------, Dec 12, 2020

-add level mode for progress bar.
-add the ability to change the text of the progress bar in the game.
-fixed teleportation when a player destroyed a block.
----------, Dec 10, 2020

I added a version check but it only determines if it is 1.15 version or not)
You may no longer see errors in the console.
Meaby...
:D
----------, Dec 7, 2020


+Now you can change the text of the progress bar in the config.
+fix bag
+mobs, blocks
----------, Sep 3, 2020

When writing the /ob leaf command, the Progres bar is turned off for the player.
----------, Sep 2, 2020

add Progress bar
+/ob Progress_bar true (on Progress_bar)
+/ob Progress_bar false (off Progress_bar)
----------, Aug 31, 2020

now I save the world in config. /set and /setleaf can be in different worlds.
fix console spam(probably)
----------, Aug 30, 2020

fix Config.yml
add Mob spawn
new commands: /setleaf /leaf
----------, Aug 29, 2020

Resource Information
Author:
----------
Total Downloads: 410,314
First Release: Aug 27, 2020
Last Update: Nov 30, 2024
Category: ---------------
All-Time Rating:
46 ratings
Find more info at mrmarl.github.io...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings