This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.
@Mtihc - thanks for considering the first feature.
Ok, since it's possible to use worldguard to create regions of any size, is there some way you could integrate your plugin so that people have to pay on the spot for the dimensions they've chosen based on block worth?
Ok, I will consider the feature "un-protect a player's regions after X amount of time offline"
But the second thing... no.... I'm gonna stick with "default top-Y and bottom-Y"... configurable in config.yml file. :)
If you want people to... not build ugly skyscapers.. and/or... dig too deep down... you can configure it in the config file. And the create command, will use those top-y and bottom-y coordinates.
I think these features are important though for anyone wanting to create an rpg/survival server. By having protection that is deleted for inactives it allows other new players to occupy that territory and eliminates the manual work it would otherwise take for the server admin.
For the same reason of starting an RPG server it'd be better to use a system of x, y, z because you'd like to prevent people for tearing up the area as they naturally would if there was no protection. By confining it to x, y, z it allows people to still create houses but no demolish the ground beneath them or building endless skyscrapers that would otherwise make the server look ugly.
Not going to happen. This plugin eliminates the difficulties of defining heights. Most servers like to have all the regions at the same height. Nice and tidy.
Also, if regions have different heights, the blockWorth would not be fair anymore.
And the plugin will not remove protection automatically. The player bought property on your server with ingame money.
Usually you buy a region, to be sure your stuff is protected forever.
It seems weird to me to just remove protection.
I have a lot of work to do on this plugin... (i need to make a todo list)
The things you mention will probably not make it in the todo list :P sorry
Could you change the features around so that height is configurable? Currently you make a default height for all regions which in imo doesn't make sense. Basically, I want to define regions where people can define their own regions within there, but within limits so that they cannot own all the land down to the bedrock nor up to the sky - just enough land to make their house. The prices of them defining their region would be dependent on x, y and z.
Also, it may be good to have a feature that deletes protection for inactives after a defined configurable time.
Ok, I have to test that out myself. And see if it really only charges for 1 hour. (Which economy plugin do you use? Not that I think it'll matter, as long as you use Vault)
About the time stuff.
When you do the rent-command... your "rent-session" is stored in the config.. as you found out yourself. It remembers how many hours you specified in the command. And how many are remaining.
At first, hoursTotal = hoursRemaining (of course)
Then, after every hour.. hoursRemaining is updated, until it reaches zero.
You can imagine the outcome, when you restart the server... all timers are restarted.
In other words... it rounds down. When you are "actively" renting a region for 1h40m... and you restart the server... the plugin will think it's just 1h.
About the members cheating.
Only owners of a region can place rent-signs on it. And players with special permission.
I just realize... members can probably break rent-signs... or did i prevent that? haha
ahh, A lot of my concerns make sense now. Thanks for clearing that all up.
On another note, I tried the rent again, and it only charged for 1 hour, not all hours I bought. hmmm.
Does restarting the server or shutting down the server for a period of time have a drastic effect on the timer?
I looked in the rent config, and I saw that it said I purchased 3 hours, and 2 remaining...
Now if it was really say 1hr and 40min remaining, I'm guessing it rounds up by saying 2hrs in the config? Now if say I shut down the server for a couple hours, when I bring it back up, does it resume the time at 1hr and 40min, or restart at the last recorded time in the config, which is 2hr?
Also is there anything in place to stop this sort of scenario...
A person rents 1 hour from a region, now they can edit the region. They destroy the rent sign and make a new one that has a much cheaper rent value, and then rent 100 hours. Is this possible, or can only the owner of the rentable region make a rent sign for said region?
The player needs to pay for all the hours at once! So... it should have taken money for 2 hours.. instead of one. I checked the code to be sure. I can't believe it only charged you for one hour :|
It doesn't matter if the region doesn't have an owner. It's just that the money goes nowhere.
Renting is based on timers. Timers use server ticks. As I've mention before, I was worried that this would cause lag or whatever. But people don't seem to have problems.
I'm just insecure about the timers. The longer the timer ticks... the more inaccurate it gets.
I don't like /selfservice rent <h> <d> <w> because of those timers... better stick to hours.
Although it's probably no problem to rent a region for weeks.. probably works fine.
But you did motivate me to have another look at this. Maybe I can work around those timers.. somehow. Or maybe I'm just paranoid about timers haha.
To answer your other question. Changing the server time, doesnt affect anything :)
I thought about having text next to the price like "1000 coins". But if the plugin automatically does that... there's a chance that things get messed up. I bet this doesn't fit on a sign "1000 dollars and 50 cents".. maybe not even this "1000.50 dollars". There can only be thát many characters on 1 line of a sign.
Per-world-configuration is a good idea.
Minimum/Maximum Width/Length onCreate is a good idea too.
Awesome plugin, but I had a couple questions, and a feature request :D
I'm a little confused how the renting works. I made a region, and put a for rent sign on it to test, then did the command to rent it. I rented for two hours, however it only took funds for one hour. Two hours later I still had the ability to do stuff on the property. One thing I noticed is the region did not have an owner, does this mess with things? Does a region need to have an owner for the renting feature to work correctly?
Also does changing the servers time affect the renting time, or is that purely off real world time?
One feature I'd love to see is the ability to rent stuff by the day or week, for long term rentals. I know you can just say rent for 24 hours x the amount of days, etc, but in my situation, and I can't speak for others, but we have a mall and I plan to make rentable shops, and I'd prefer it to be a long term renting situation, like a month at a time. Having to break it down by hour is just tedious.
Would be cool if you could have a syntax like:
for rent
price h/d/w
region name
So on the second line if you put 100 d, it would snap to "100 per day"
Another small minor feature is if you could make the registered currency name follow the price on signs. Like:
for sale
1000 coins
region name
Obviously it would pull it's currency name from whatever you specify in the currency mod.
Would also like to see preferences based on world. So I could set values differently based on the world.
One last feature request, and maybe this is already available and I just overlooked it??
I'd like a way to have a minimum dimension on a property, so I don't have people going around zoning 3x3 squares and other small annoying plots. Believe it or not, but I can see this happening. It would be nice to be able to set up a minimum dimension, like say 10x10.
It's not your plugin making my tps drop. Because I don't use your plugin, yet =P.
I want to replace the plugin that's making me lag (preciousstones) with your plugin. But was requesting a feature first (the player purging after a certain time).
If you dont want to add the feature its fine, but if you would it would be wonderful =D
Well alright, you're server is awesome :P There can be a lot of causes to the lag. But I'm pretty sure it's not my plugin. But I guess that's what they all say huh xD.
I will probably put the source code up on github some time. So other people can have a look at it. The more features I add, the more it becomes a mess haha
I think it's a good idea to have a command that shows you a list of all regions that a player owns.
And maybe a command to remove all regions that a player owns.
I mean it deletes the players regions (that he bought using this plugin) after a period of inactivity.
My question about the performance was because my server is very active with players. They come and go way to quickly. And I wouldnt want to have my map filled with inactive players protections
We currently have 1000+ worldguarded regions. and 7000 preciousstone regions.
and this is with preciousstones purging (removing) players regions after 14 days inactivity.
Im trying to replace preciousstones with a different plugin. But with out a automatic player purge it would just lag my server after a month, and gradually get worse.
About the performance... I think that having a lot of regions will affect the performance. There are probably some things that iterate/look over all the regions in a world. The more regions, the more time it takes. When I was running a server, I never really had performance issues. I think there were about 100 or 200 regions. It also depends on your server hardware etc.
I expected region-renting to cause performance problems... but up until now there are no complaints.
About the player's money hitting 0. When a player tries to rent a region for ... a certain amount of hours... the price is calculated... if he doesn't have enough money. He gets a message in chat, informing the player that he can't afford it. And the deal is off :)
Those are good suggestions. Maybe the second one is a bit much. I would start with just "checking if the region doesn't intersect with someone elses region".
Although, suggestion 1, 2 and 4 are things I'm not so sure of.
You could say those features are an expansion on the feature "onCreate.enableCost".
I'm not proud of that feature. Because it's very limiting. (unless I add those features you talk about). And I was afraid I would get suggestions like this... after adding onCreate.enableCost. Haha.
In other words. I really should add those features. But I'm not sure if I'm motivated enough.
The next few weeks I've got alot of other stuff to do. So I will come back on this.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
-
View User Profile
-
Send Message
Posted Jan 24, 2012@Mtihc - thanks for considering the first feature.
Ok, since it's possible to use worldguard to create regions of any size, is there some way you could integrate your plugin so that people have to pay on the spot for the dimensions they've chosen based on block worth?
-
View User Profile
-
Send Message
Posted Jan 24, 2012@KrebsCOHO
Ok, I will consider the feature "un-protect a player's regions after X amount of time offline"
But the second thing... no.... I'm gonna stick with "default top-Y and bottom-Y"... configurable in config.yml file. :)
If you want people to... not build ugly skyscapers.. and/or... dig too deep down... you can configure it in the config file. And the create command, will use those top-y and bottom-y coordinates.
-
View User Profile
-
Send Message
Posted Jan 24, 2012Thanks for your reply,
I think these features are important though for anyone wanting to create an rpg/survival server. By having protection that is deleted for inactives it allows other new players to occupy that territory and eliminates the manual work it would otherwise take for the server admin.
For the same reason of starting an RPG server it'd be better to use a system of x, y, z because you'd like to prevent people for tearing up the area as they naturally would if there was no protection. By confining it to x, y, z it allows people to still create houses but no demolish the ground beneath them or building endless skyscrapers that would otherwise make the server look ugly.
Thanks
-
View User Profile
-
Send Message
Posted Jan 24, 2012@KrebsCOHO
You can use WorldGuard /region define, instead of /selfservice set
-
View User Profile
-
Send Message
Posted Jan 24, 2012@KrebsCOHO
Not going to happen. This plugin eliminates the difficulties of defining heights. Most servers like to have all the regions at the same height. Nice and tidy.
Also, if regions have different heights, the blockWorth would not be fair anymore.
And the plugin will not remove protection automatically. The player bought property on your server with ingame money.
Usually you buy a region, to be sure your stuff is protected forever.
It seems weird to me to just remove protection.
I have a lot of work to do on this plugin... (i need to make a todo list)
The things you mention will probably not make it in the todo list :P sorry
-
View User Profile
-
Send Message
Posted Jan 24, 2012Could you change the features around so that height is configurable? Currently you make a default height for all regions which in imo doesn't make sense. Basically, I want to define regions where people can define their own regions within there, but within limits so that they cannot own all the land down to the bedrock nor up to the sky - just enough land to make their house. The prices of them defining their region would be dependent on x, y and z.
Also, it may be good to have a feature that deletes protection for inactives after a defined configurable time.
-
View User Profile
-
Send Message
Posted Jan 23, 2012@pixelbat
Haha it says in chat that you payed (whatever the price is for 1 hour)...
But you actually pay the correct amount.
No biggy... it's just silly chat message
-
View User Profile
-
Send Message
Posted Jan 23, 2012@pixelbat
Ok, I have to test that out myself. And see if it really only charges for 1 hour. (Which economy plugin do you use? Not that I think it'll matter, as long as you use Vault)
About the time stuff.
When you do the rent-command... your "rent-session" is stored in the config.. as you found out yourself. It remembers how many hours you specified in the command. And how many are remaining.
At first, hoursTotal = hoursRemaining (of course)
Then, after every hour.. hoursRemaining is updated, until it reaches zero.
You can imagine the outcome, when you restart the server... all timers are restarted.
In other words... it rounds down. When you are "actively" renting a region for 1h40m... and you restart the server... the plugin will think it's just 1h.
About the members cheating.
Only owners of a region can place rent-signs on it. And players with special permission.
I just realize... members can probably break rent-signs... or did i prevent that? haha
-
View User Profile
-
Send Message
Posted Jan 23, 2012@mtihc
ahh, A lot of my concerns make sense now. Thanks for clearing that all up.
On another note, I tried the rent again, and it only charged for 1 hour, not all hours I bought. hmmm.
Does restarting the server or shutting down the server for a period of time have a drastic effect on the timer?
I looked in the rent config, and I saw that it said I purchased 3 hours, and 2 remaining...
Now if it was really say 1hr and 40min remaining, I'm guessing it rounds up by saying 2hrs in the config? Now if say I shut down the server for a couple hours, when I bring it back up, does it resume the time at 1hr and 40min, or restart at the last recorded time in the config, which is 2hr?
Also is there anything in place to stop this sort of scenario...
A person rents 1 hour from a region, now they can edit the region. They destroy the rent sign and make a new one that has a much cheaper rent value, and then rent 100 hours. Is this possible, or can only the owner of the rentable region make a rent sign for said region?
Thanks :>
-
View User Profile
-
Send Message
Posted Jan 23, 2012@pixelbat
The player needs to pay for all the hours at once! So... it should have taken money for 2 hours.. instead of one. I checked the code to be sure. I can't believe it only charged you for one hour :|
It doesn't matter if the region doesn't have an owner. It's just that the money goes nowhere.
Renting is based on timers. Timers use server ticks. As I've mention before, I was worried that this would cause lag or whatever. But people don't seem to have problems.
I'm just insecure about the timers. The longer the timer ticks... the more inaccurate it gets.
I don't like /selfservice rent <h> <d> <w> because of those timers... better stick to hours.
Although it's probably no problem to rent a region for weeks.. probably works fine.
But you did motivate me to have another look at this. Maybe I can work around those timers.. somehow. Or maybe I'm just paranoid about timers haha.
To answer your other question. Changing the server time, doesnt affect anything :)
I thought about having text next to the price like "1000 coins". But if the plugin automatically does that... there's a chance that things get messed up. I bet this doesn't fit on a sign "1000 dollars and 50 cents".. maybe not even this "1000.50 dollars". There can only be thát many characters on 1 line of a sign.
Per-world-configuration is a good idea.
Minimum/Maximum Width/Length onCreate is a good idea too.
I can't promise anything. Don't hate me :)
-
View User Profile
-
Send Message
Posted Jan 23, 2012Awesome plugin, but I had a couple questions, and a feature request :D
I'm a little confused how the renting works. I made a region, and put a for rent sign on it to test, then did the command to rent it. I rented for two hours, however it only took funds for one hour. Two hours later I still had the ability to do stuff on the property. One thing I noticed is the region did not have an owner, does this mess with things? Does a region need to have an owner for the renting feature to work correctly?
Also does changing the servers time affect the renting time, or is that purely off real world time?
One feature I'd love to see is the ability to rent stuff by the day or week, for long term rentals. I know you can just say rent for 24 hours x the amount of days, etc, but in my situation, and I can't speak for others, but we have a mall and I plan to make rentable shops, and I'd prefer it to be a long term renting situation, like a month at a time. Having to break it down by hour is just tedious.
Would be cool if you could have a syntax like:
for rent
price h/d/w
region name
So on the second line if you put 100 d, it would snap to "100 per day"
Another small minor feature is if you could make the registered currency name follow the price on signs. Like:
for sale
1000 coins
region name
Obviously it would pull it's currency name from whatever you specify in the currency mod.
Would also like to see preferences based on world. So I could set values differently based on the world.
One last feature request, and maybe this is already available and I just overlooked it??
I'd like a way to have a minimum dimension on a property, so I don't have people going around zoning 3x3 squares and other small annoying plots. Believe it or not, but I can see this happening. It would be nice to be able to set up a minimum dimension, like say 10x10.
Thank you for your time, and the great mod.
-
View User Profile
-
Send Message
Posted Jan 16, 2012@selfservice0
Oh ok, I get it.
I will probably NOT add a feature that pruges regions after a certain amount of time.
I would just make a command like: /selfservice remove -all <player>
-
View User Profile
-
Send Message
Posted Jan 16, 2012It's not your plugin making my tps drop. Because I don't use your plugin, yet =P. I want to replace the plugin that's making me lag (preciousstones) with your plugin. But was requesting a feature first (the player purging after a certain time).
If you dont want to add the feature its fine, but if you would it would be wonderful =D
-
View User Profile
-
Send Message
Posted Jan 15, 2012@selfservice0
Well alright, you're server is awesome :P There can be a lot of causes to the lag. But I'm pretty sure it's not my plugin. But I guess that's what they all say huh xD.
I will probably put the source code up on github some time. So other people can have a look at it. The more features I add, the more it becomes a mess haha
I think it's a good idea to have a command that shows you a list of all regions that a player owns.
And maybe a command to remove all regions that a player owns.
-
View User Profile
-
Send Message
Posted Jan 15, 2012@Mtihc
I mean it deletes the players regions (that he bought using this plugin) after a period of inactivity.
My question about the performance was because my server is very active with players. They come and go way to quickly. And I wouldnt want to have my map filled with inactive players protections
We currently have 1000+ worldguarded regions. and 7000 preciousstone regions. and this is with preciousstones purging (removing) players regions after 14 days inactivity.
Im trying to replace preciousstones with a different plugin. But with out a automatic player purge it would just lag my server after a month, and gradually get worse.
_________
I have a 16gb ram ecc Quad core Xeon e3 server
-
View User Profile
-
Send Message
Posted Jan 15, 2012@selfservice0 ;)
What do you mean exactly, by region purging?
About the performance... I think that having a lot of regions will affect the performance.
There are probably some things that iterate/look over all the regions in a world. The more regions, the more time it takes.
When I was running a server, I never really had performance issues. I think there were about 100 or 200 regions. It also depends on your server hardware etc.
I expected region-renting to cause performance problems... but up until now there are no complaints.
About the player's money hitting 0. When a player tries to rent a region for ... a certain amount of hours... the price is calculated... if he doesn't have enough money. He gets a message in chat, informing the player that he can't afford it. And the deal is off :)
So what do you mean by region purging?
-
View User Profile
-
Send Message
Posted Jan 15, 2012Cool! Thanks for reading and possibly adding those features. :-)
-
View User Profile
-
Send Message
Posted Jan 15, 2012Player region purging would be nice. After a set time of inactivity.
lol nice plugin name =P
EDIT: I have a question. Would a mass amount of regioned areas effect worldguards or this plugins performance at all?
Currently I use preciousstones and with all our protected areas it is eating performance (tps) with over 50 players online.
Also when renting a protertie using this plugin can the renters money amount go negative? If not what happens if they hit 0?
-
View User Profile
-
Send Message
Posted Jan 15, 2012@Katorone
Wait.. your 4th suggestion does not realte to onCreate.enableCost. //
People can just make regions inside their own region... without cost. To rent them out. (without cost makes it a bit easier) //
So... I will do suggestion 3 and 4.. (after a few weeks), because they're probably easy. And "maybe" 1 and 2.
-
View User Profile
-
Send Message
Posted Jan 15, 2012@Katorone
Those are good suggestions. Maybe the second one is a bit much. I would start with just "checking if the region doesn't intersect with someone elses region".
Although, suggestion 1, 2 and 4 are things I'm not so sure of.
You could say those features are an expansion on the feature "
onCreate.enableCost".I'm not proud of that feature. Because it's very limiting. (unless I add those features you talk about). And I was afraid I would get suggestions like this... after adding
onCreate.enableCost. Haha.In other words. I really should add those features. But I'm not sure if I'm motivated enough.
The next few weeks I've got alot of other stuff to do. So I will come back on this.