Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to add a vote command #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lorenzoprdev
Copy link

Trying to add a vote command for the players to vote for night/day/rain etc..

Surely it will need to change other parts of the plugin, but It's too compliecate for me. This is just an Idea for vip players! :)

TheL0w3R added 2 commits January 10, 2015 21:01
Trying to add a vote command for the players to vote for night/day/rain etc..
Changed "args.equals(String)" to "args.equalsIgnoreCase(String)" :)
@Darkool
Copy link
Contributor

Darkool commented Jan 31, 2015

do you say, like cubecraft right?, i think thats idea must be added by every people that want custom their game, because maybe it's unnecessary, regards

@lorenzoprdev
Copy link
Author

Maybe, I can try to add a config line for the owners to let them decide if they want to set the player's time or the global arena time. I think i'll be using setPlayerTime and if the config is set to all players, I will get all the players in the arena and set the time for them individually. I'm a noob coding but I'll try :)

@Darkool
Copy link
Contributor

Darkool commented Jan 31, 2015

you can try creating first few arraylists with options (sun, night, etc) later, a gui for choose "time" or whatever you want, (use util class), then when player click on menu, add player to the arraylist and when "arenastate = INGAME" then set this with a time event for change time, checking length for every arraylist(i think that this is the easier way to do thats you want)

@lorenzoprdev
Copy link
Author

Great idea! I'll try it!
Also, you can help me coding a few things for this great api! Only if you want :)

@Darkool
Copy link
Contributor

Darkool commented Jan 31, 2015

at this moment, i'm very busy, but comment here if u have problems with this api

@naoufalzerai
Copy link

hello
Great work ,but I can't find the config.php :/
Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants