Server status synchronization plugin

Status
This thread has been locked.

Deathstreams

Developer & Happy boyfriend
Banned
Feedback score
15
Posts
292
Reactions
186
Resources
0
I've been playing around with in-memory storage stuff with Redis and I somehow managed to create a synchronization plugin.
I honestly have no fucking clue if it's worth anything, but it is pretty useful as it removes the need for all that pesky proxy-to-plugin messaging stuff.
It has a very simple API, and has 3 commands to evaluate those functions aswell.
It basically synchronizes your server's:
- Current playercount
- Maximum playercount
- Server status (whitelisted, online or offline)
- Server motd
It also has a pretty nice Restlet for HTTP requests incase you want to make some sort of a live statistic page.

If anyone is interested hit me up, here is some proof and shit:
ScreenShot_20170831195135.png
ScreenShot_20170831195206.png

Also I've been thinking about changing my title to lambda abuser if you saw what I did on line 43 to 48.

Don't mind my autism of using .ini configs
 

Attachments

  • ScreenShot_20170831195135.png
    ScreenShot_20170831195135.png
    14 KB · Views: 259
  • ScreenShot_20170831195206.png
    ScreenShot_20170831195206.png
    41.4 KB · Views: 257
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Deathstreams

Developer & Happy boyfriend
Banned
Feedback score
15
Posts
292
Reactions
186
Resources
0
Reserved.
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/deathstreams-scam-report.279936/)

Deathstreams

Developer & Happy boyfriend
Banned
Feedback score
15
Posts
292
Reactions
186
Resources
0
Banned forever. Reason: Scamming (https://builtbybit.com/threads/deathstreams-scam-report.279936/)

Eric

Software Engineer
Supreme
Feedback score
14
Posts
1,760
Reactions
1,648
Resources
1
Yep but this technique is more optimized and it can store some other datas for some other plugins like HCF etc. it can store factions, lives, deathban timer, etc. so you can use them in another idea for informations or etc.
In that code I can't see anything that would be related to storing hcf stats other than redis..
 

Deathstreams

Developer & Happy boyfriend
Banned
Feedback score
15
Posts
292
Reactions
186
Resources
0
Koei it does not have HCF support but I might make it an optional feature with some insane reflection magic.
Irantwomiles personally I'd prefer a complete synchronization plugin rather than a simple messaging system, and if you want you can just use this to display server status on your website since it offers a fancy Restlet for all of the stored data. (sending a get request to (ip):(configurable port)/[server]/online/ for example returns online count on the server if it is connected.)
 
Last edited:
Banned forever. Reason: Scamming (https://builtbybit.com/threads/deathstreams-scam-report.279936/)
Status
This thread has been locked.
Top