FakeBlock icon

FakeBlock -----

Provides ability to create fake structures only visible to certain players!




Updated to support 1.17.

Note: This update requires that you delete your language.yml and let it regenerate.
----------, Jun 21, 2021

Changes:
- Fixes flaw in packet construction logic for latest
- Add caching to real packets for all walls across all versions

Versioning:
- Latest for 1.16.2+
- Intermediate for 1.13 -> 1.16.1
- Legacy for 1.7 -> 1.12

If you find any bugs, please report them so I can fix them!
----------, Sep 14, 2020

  • Performance improvements
  • Better distance check
  • Fixed walls not appearing immediately on permission change
  • Implemented ability to inverse permission check through config
  • Remove fakeblock.admin from seeing all walls
----------, Aug 13, 2020

Bugfixes include:

- Blocks with orientation/state are now fixed
- A permission check fixed (users without fakeblock.admin were unable to see)
- Added build numbers to those downloaded on GitHub

This will require reconfiguration of the walls - I apologise
----------, Jul 13, 2020

With v2 comes a few new things!

Note: Version 1 configurations are NOT compatible with version 2
  • Performance enhancements
  • Multi-materialed walls
  • Different selection method
  • Inversed permission check
The biggest change here is the multi material walls, it is possible to create entire selections (buildings/mountains/etc) and have them only appear for selected groups/players.

Performance should be better than ever, switching to using multi block update packets as opposed to individual packets for each block. Bigger walls really thrive here!

Selection is slightly different, please read the updated tutorial on how to use.

Known caveats:

- Legacy versions store grass weird, they end up faking "dead bushes", while not a really high priority, I'll look into it.

- All versions will kick players for "flying" when walking on the fake blocks (same as v1), I haven't tested with an anti-cheat but I imagine the same results will occur + additionally "rubber banding". I am investigating ways I can bypass this, and will hopefully have a solution soon.
----------, Jul 10, 2020

- Fixes potential bypass of the fake wall
- Caters for all connections when sending fake blocks
----------, Jun 14, 2020

- Added material argument to creation command
- Added visualisation of the wall upon creation..
- Added command to temporarily toggle walls for a specific player
- Implemented more language options
----------, Jan 14, 2020

Version 1.6-SNAPSHOT:

- Multi-version support (two separate .jars)
- Cleaner configuration
- Major performance enhancements (async calculations)
- Improved functionality

Permissions are the same. Commands have slightly changed.

/fakeblock create <wall name> will now just create a wall in config that you can edit.
I do plan on re-implementing a selection method in the next version. :)

Note: ProtocolLib is now required regardless of version. Please download the version that is relevant to your servers version.

!!! Configuration file will need to be regenerated (regardless of version) !!!

Please submit any issues to: https://github.com/Huskehhh/FakeBlock/issues
----------, Oct 25, 2019

- Utilise ProtocolLib to listen for use/arm swing packet to prevent players from glitching their way through the fake wall. Now depends on ProtocolLib being installed on the server.
- Removed playerMoveEvent listener, this should increase performance with a large number of players
----------, Jul 3, 2019

Updated command handling. Now much tidier and much more useful.
Added /fakeblock replace <wall> <block name>
Fixed /fakeblock delete <wall>
Added /fakeblock list
----------, Jun 27, 2019

- Massive code overhaul
- Performance fixes
- Increased efficiency of fake wall
- Update to latest version of Spigot
----------, Jun 26, 2019

- fakeblock.admin permission node now allows all walls to be hidden.
- Attempted fix at mysterious clones of fake walls along horizon, I
assume rendering chunks are involved
- New processing method for sendFakeBlocks in Utility.java, allows for
cleaner code amongst methods that call this function, also allows for
consistency.
- Removed the need for a Utility object, what a dumb thing, I should
have done that to begin with.
- Made all methods in Utility static, because they aren’t
object-specific.
- Privatised methods not needed by external classes in Utility.java
- Added method ‘getAllPlayersInChunk’, testing will ensue to explore
what performs quicker, and with less resource usage. This method has
been left unused on purpose -for now-.
----------, Dec 5, 2015


- Added support for Material Data, use through /fb set name item:materialdata
- Fixed bug involving needing a restart for Walls added manually through Config.
- /fb reload works for Console, also actually works now.
- Fixed bug that disallowed more than 1 Wall to be created through the command upon single runtime
- Fixed Wall selection process, now doesn't give out errors.
- Commands shouldn't return errors when wrong arguments are given.

Huge thanks to @Azfaloth for helping with testing! :)
----------, Nov 19, 2015

Resource Information
Author:
----------
Total Downloads: 12,780
First Release: Oct 1, 2015
Last Update: Jun 21, 2021
Category: ---------------
All-Time Rating:
17 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings