Rust Private residences

Discussion in 'Plugin Requests' started by Shotgun Teddy, Aug 22, 2016.

  1. 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?
     
  2. 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.
     
  3. Can't upload files in this section of the forum, so I'm submitting the plugin now, will post here when approved.
     
  4. Whoa, ok. That's even better. What's your mod called Skrallex?
    [DOUBLEPOST=1471867962][/DOUBLEPOST]
     
  5. The only problem with Hotel plugin is thats its outdated and most commands don´t work and Hotel doesnt recognize rooms :(
     
  6. Thank you for bringing my attention to this! Ill have to see if I can make it work with Server Rewards. Much obliged.
    [DOUBLEPOST=1471875015][/DOUBLEPOST]
    Ahhhhh... Well then...

    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
  7. i'll see if i can fix it soon :)
    working on a plugin atm, will do it after :)