1

IConomy Plugin to buy day?

drsprite 10/7/11 7:58 pm
276
10/7/2011 8:55 pm
Anyone know of a plugin that can hook into iConomy to buy day, stop rain, etc?

Thanks
Posted by
drsprite
Level 14 : Journeyman Crafter
2

  Have something to say?

JoinSign in

14

drsprite
10/07/2011 8:36 pm
Level 14 : Journeyman Crafter
Okay, I may be onto something.

Since downgrading back to iCon 5, it seems like Essentials is happy again. And the [Time] Day $500 worked and took it from iCon.

I think that may do it!
1
drsprite
10/07/2011 8:33 pm
Level 14 : Journeyman Crafter
Okay, this announcer plugin looks like a crontab I already have setup. SO I'll keep what I have.

How about hooking Essentials into iConomy? We had issues with iCon 6 and some add'l plugins, so backed it down to iCon 5.

Right now Essentials wants to use it's own Eco, so doing the signs, or charging for an Essentials command isn't taking money from the player's iCon
1
BENNETTMAN
10/07/2011 8:38 pm
Level 9 : Apprentice Narwhal
'crontab'?

You really should update to iConomy6 then.
I have had no issues with using it alongside any of my plugins.
Everything i have told you here works perfectly for me, without any issue.
1
drsprite
10/07/2011 8:55 pm
Level 14 : Journeyman Crafter
Yeah, cron is linux speak for "Scheduled Tasks"...

iCon 6 wasn't working with ChestShops and Votifier, it was also conflicting with Essentials, so we backed down to iCon 5. Seems solid for now.
1
Hiyadudez
10/07/2011 8:31 pm
Level 39 : Artisan Bunny
Well like carvine said, you can make a sign like this:
______________________
| [weather] |
| sun |
| [amount] |
""""""""""""""""""""""""""""""""""

ANd you could also add a console message to say 'It is now nightfall, remember you can buy day for [amount]!' and set it to say it every [so many] minutes. The amount of minutes between each one would depend on how long minecraft nights are.
1
Hiyadudez
10/07/2011 8:32 pm
Level 39 : Artisan Bunny
ALso, If you need any help I'd be happy to help. Ive done alot of plugins and know how to make it work.

Add my skype, MattyPerks

Ill be on skype tomorrow.
1
drsprite
10/07/2011 8:25 pm
Level 14 : Journeyman Crafter
Interesting. Yep, I use essentials, but I didn't know it can hook into iCon. I scowered the config, and didn't see anything jumping out at me other than Essentials' own Economy. Am I missing something?

I'm not adverse to a command, but is there a way to have a broadcast message come up when nightfall comes? That way players are reminded that they can buy day for $250
1
carvine1
10/07/2011 8:23 pm
Level 37 : Artisan Dragon
Well a sign is a much easier way
[Weather]
sun
cost

Thats the setup
1
BENNETTMAN
10/07/2011 8:30 pm
Level 9 : Apprentice Narwhal
But, you have to consider, the player wanting to switch time may not have access to the sign, or be close by one, whereas a command is available at all times.

As for broadcasting when night falls, there may be some plugins that can detect as such, as far as i'm aware essentials cannot do this. You can howerver download this plugin: http://forums.bukkit.org/threads/info-c ... 060.11955/

You can set times intervals at which broadcasts are shown, and add custom messages.
You could add a message reminding people that they can pay to change the time, but it won't necessarily happen exactly when night falls, but it sure will remind them it is possible.
1
drsprite
10/07/2011 8:28 pm
Level 14 : Journeyman Crafter
Yeah, I know that's the setup, but that works with Essentials Economy. Which isn't deducting the price from iConomy.

Thoughts?
1
BENNETTMAN
10/07/2011 8:31 pm
Level 9 : Apprentice Narwhal
I'm not sure what is going on there, because my iConomy 6 automatically syncs with Essentials.
1
carvine1
10/07/2011 8:11 pm
Level 37 : Artisan Dragon
U mean essentials sign? They can automatically detect i think, not sure, but u can change it in the essentials config
1
BENNETTMAN
10/07/2011 8:18 pm
Level 9 : Apprentice Narwhal
There are plugins, and ways of setting it up to charge through signs, but simpley setting a price for using a command is much simpler, as it only involves adding a simple line in the config, for example:

To charge a player 250 of whatever your currency, to change the time, you would simply add:

time: 250

in this section:

command-costs:
# /example costs $1000 PER USE
#example: 1000
# /kit tools costs $1500 PER USE
#kit-tools: 1500


So basically, this:


command-costs:
time: 250


Just click at the end of command-costs:, hit enter, space over twice, and type the command and price.
1
BENNETTMAN
10/07/2011 8:07 pm
Level 9 : Apprentice Narwhal
Do you use essentials?
Essentials hooks into iConomy, and in the config you can set prices for using any of the essentials related commands, like weather, and time.
1

Welcome