Claytonia Gaming

Board Archives => Semi-Vanilla Server 2 => Server Information => Topic started by: Tslat on November 19, 2016, 01:20:47 AM

Title: Moves for the Modded server
Post by: Tslat on November 19, 2016, 01:20:47 AM
Hi guys,

Following the thread about opinions on what to do with the server, and monitoring the server itself, I'm looking at doing the following things (Probably in about this order):

1. Code some new admin tools to help keep an eye on things
2. Come up with a way of tracking player's items (to prevent/undo stealing) - I'm thinking of maybe adding a marker when players put items in chests so that they're marked as that player's item, then when someone else withdraws them I can see whose item it is (or something). I'm open to ideas on this one
3. Come up with some way to prevent or minimize physical griefing (block breaking, etc.). I'll disable tnt & fire-spread, but physically breaking blocks is still a thing.
4. Un-whitelist the server.

Hopefully these few things help keep the server fresh and safe.
If anyone has any ideas on how I can implement any of these, lemme know.
Title: Re: Moves for the Modded server
Post by: Zito on November 20, 2016, 02:47:01 PM
Honestly those seem like very good ideas and definitely some huge steps in the right direction. Another thing to note on the chests/items thing, could you possible mark chests as a certain player's when they place them, and then any item placed in that chest would get marked as the player's? I was thinking that might be less intensive on server resources, but if it'd be about the same I guess it doesn't matter. I think a few of the tools from the Essentials Plugin on bukkit are really good for admin things, like the /invis command for starters. Also, how much would you need donated to the server to upgrade it and allow a couple more mods?
Title: Re: Moves for the Modded server
Post by: Tslat on November 20, 2016, 05:36:36 PM
The chest route is another option yeah, I don't think either method is better on server performance. My method would definitely be easier to code, but apart from that I'm not sure.

Always gotta remember that Forge is very different from Bukkit. Essentials is relatively easy to make in Bukkit, but making the same or similar things in Forge is much, much harder. Did you know that there's no currently working vanish mod for Forge 1.7?
On bukkit, you can simply run a .vanish() method on a player.
In Forge (At least as far as I can work out since it doesn't exist), I'd have to manually intercept every packet that the server sends out, check if it relates to player rendering, then re-write the packet so that the player's position is somewhere else. Then I'd have to manually re-send that packet to the intended target with my own custom packet handler.
I'm not even sure how (if at all possible) to remove the player from the playerlist.

Donations help keep it running over a period. Recurring donations are what is required if we want the server to be upgraded. The thing then is too, if the recurring donations stop, then the server has to lose those mods - which in many cases can cause huge problems with corruptions and world-generations (possibly causing the server to have to be shut down).
It's something we don't like to have to rely on.
Title: Re: Moves for the Modded server
Post by: Zito on November 20, 2016, 05:51:55 PM
If I donate I won't be stopping the donation from recurring, and I am planning on donating. I'm just wondering if it's worth it for me to donate and get a couple more mods added to the server. I'll donate either way, but I really want a couple mods on the server that make the game a lot more fun and add a lot more content. I just want to know how much I need to donate each month to help out the server and hopefully get the mods I want.

On the topic of vanishing, that sounds like it would be very hard on the server to do that wouldn't it?
Title: Re: Moves for the Modded server
Post by: Tslat on November 20, 2016, 05:54:49 PM
Correct, it'd slow down the server a fair bit. Isn't Forge great? :)

What mods were you thinking of
Title: Re: Moves for the Modded server
Post by: Zito on November 20, 2016, 06:46:44 PM
Primarily Magical Crops, and maybe thermal expansion/foundation, not sure which they're calling it these days.
Title: Re: Moves for the Modded server
Post by: Tslat on November 24, 2016, 02:33:46 AM
Alright so just to add to the frustration:
Unlike Bukkit, Forge has absolutely no way of saving or reading data on any blocks. So there's no way for me to create a lock system or put markers on any items without them being my own custom blocks or items.

At this point, I'm looking at making it so that you can nominate what other players can open your chests, and that will apply to every chest you've placed
Title: Re: Moves for the Modded server
Post by: Zito on November 24, 2016, 04:59:40 PM
That sounds similar to the old LWC plugin, I think that'll work out nicely. Unfortunate that Forge has no way of identifying blocks though. It seems like forge doesn't have much for servers at all.
Title: Re: Moves for the Modded server
Post by: Farquad94 on November 28, 2016, 09:23:32 AM
this is tough slat, if i can help in anyway (other than future donations i will make) let me know