Has anyone here attempted to implement a private residence for players? That is, give players the ability to purchase a residence, maybe in a safe zone?
Right now on my server, I've built two-cities/towns. I'm using 'Server Rewards' to give players tokens, and was really trying to figure out a way I could build pre-made homes in the cities and then sell the homes to players. The cities are inside zones via 'Zone Manager', these zones disallow construction, building destruction and PVP. I thought this was a cool way to give players a small abode where they know their stuff is safe and they are as well.
However I have been unable to figure out a way to implement this. My first idea was to use Server Rewards ability to purchase a command in tandem with 'Private Messaging'. Basically, I would lock each building/home with a lock-code. If a player wanted to purchase building A, they would go to Server Rewards and use their tokens to buy Building A code. I was hoping to have the code be a "Private Messaging' command that would privately message the player the code to Building A, e.g. "The code is 1361", but private messaging doesn't seem to have a console command, and I think 'Server Rewards' only accepts console commands. I can't have it simply "say" the code, as it will post it to world chat and someone could run to the house before the player who purchased it and all sorts of nonsense would ensue.
TLDR: Do you have a way to sell players homes in safe zones? How did you do it?
Rust Private residences
Discussion in 'Plugin Requests' started by Shotgun Teddy, Aug 22, 2016.
-
You shouldn't need to use Private Messaging for that, I can whip up a plugin with a console command to message a player, and not the whole server.
-
Can't upload files in this section of the forum, so I'm submitting the plugin now, will post here when approved.
-
[DOUBLEPOST=1471867962][/DOUBLEPOST] -
The hotel plugin is pretty much the same as what you are trying to do
Hotel for Rust | Oxide -
-
[DOUBLEPOST=1471875015][/DOUBLEPOST]
Ill see and wait for what Skrallex made. I think privately messaging players the codes to locks in safe zones will just have to work for now. The only thing that will be an issue is figuring out how to deal with item deployment. I dont want players to deploy items in the safe zones because they'll begin putting up tool cupboards and beds/sleeping bags and destroys the point of purchasing a home in the safe zone. But I do want players the ability to deploy their own bed or loot crates in their home. But this creates even more issues, so ill just put lootboxes for them in the house and when they buy it I guess they'll have to just let me know and ill go to the house and give the bed to them.
Wasn't there a mod that allowed you to inhibit certain items or deployment of certain items/entities in a zone?Last edited by a moderator: Aug 22, 2016 -
working on a plugin atm, will do it after -
Here's the plugin I mentioned, just had to wait for Wulf to approve it
Console Messages for Rust