question to professional developers

Status
This thread has been locked.

Mr3e

Seeking what to write here
Premium
Feedback score
7
Posts
211
Reactions
21
Resources
0
Hello,

So, while playing on some servers I came across a plugin that changes all laggy blocks into bedrocks while keep them functioning nornally. For example, when you enable spawners to be changed to bedrocks, your view refreshes and all spawners changed into bedrocks (unless you right click one of them) yet they still spawn mobs. Same goes to furnace, chests and more.

This is used to reduce client-side fps lag to make the gameplay easier, mostly in factions and skyblock.

My question goes like this: after searching for such plugin I came to realize its custom made for several plugins, so I searched for source codes of something similar. Is this source code what I am looking for?

One of the servers I found it on was PvPwars.net, you could login to check the plugin for further info. (/fps settings)

Thanks in advance :)
P.S. I only learnt coding C# and not familiar with Java nor bukkit/spigot API, so please be easy on me.
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

FireFlower

Feedback score
6
Posts
228
Reactions
48
Resources
0
I think BlockDisguiser.java is what you're looking for. It registers a listener which replaces the laggy blocks with bedrock in packets that are sent to the client.
 

Mr3e

Seeking what to write here
Premium
Feedback score
7
Posts
211
Reactions
21
Resources
0
Couldn't you just use Lib's Disguises and use a syntax similar to this?
Code:
Spawner:
  Type: Spawner
  Disguise:
    Type: BLOCK
    Block: BEDROCK
    BlockData: 0
    ShowName: true
I am really not familiar with coding in Java, would pay someone to prepare the plugin for me.
If you are interested, pm me or add me on discord: Mr3e#2406 :p
 
Status
This thread has been locked.
Top