Inactive [GEN/MECH] bcVote v0.9.0 - Vote for day/night or sun/rain | (weather, time) [Vault] [1846, 1.1 r3]

Discussion in 'Inactive/Unsupported Plugins' started by Grotznak, Jun 7, 2011.

  1. Offline

    Grotznak

    bcVote v0.9 - The environmental voting plugin:


    Version: v0.9.0
    About:
    Tired of answering the same votings again and again?
    With this plugin you need only to vote ONCE for sun, rain, day or night without the need to vote again until you leave the server or opt out.
    Note (open)

    Feel free to test this plugin. This is my first release to bukkit.
    So you have to expect some minor bugs and errors. Please post all bugs here and check back here regulary.

    Also i would be very happy if you post here on how you liked the plugin, which features you liked or not.
    Suggestions are allways welcome.

    All source code ist OpenSource, feel free to use it.
    If you want to help send me an message here or a request on Github

    Features:
    • Vote for time or weather
    • permissions support
    • no need to revote until you opt out
    • full Multilanguage
    Requires:
    Vault

    Commands:
    Code:
    /vote day
    /vote night
    /vote sun
    /vote rain
    /vote undo
    
    Downloads:
    Use with Superperms (new permissions system):
    Download Plugin: bcVote_v0.9.0


    Use v0.8.0 for PermissionEX support
    Use with (old) Permission 2 (Phoenix), Permission 3 ect. :
    Download Plugin: bcVote_v0.7.3.zip (working in 1.8.1 "bukkit sad fixed")


    older Vers: v0.4.7 | v0.5.1 | v0.6.0 | v0.6.1 | v0.7.2 | v0.8.0
    Language files : are in the latest package, message me if you want to publish your language file here


    czech.lang translation by Koblizek
    english.lang by myself
    french.lang translation by Nelo
    german.lang by myself
    italian.lang translation by BelluX
    spanish.lang by GladiTek

    Source Code: Git
    Prject on dev.bukkit.org
    http://dev.bukkit.org/server-mods/bcvote/

    Permissions:
    Code:
    bcvote.* -- allow all votes
    bcvote.time -- allow votes for day or night
    bcvote.weather -- allow votes for weather changing
    
    Upgrading:
    Show Spoiler

    from x.x.x to 0.8.x
    please let you config and language file rebuild

    from 0.8.x to 0.9.0
    add this lines to the config an Language files
    config.yml
    Code:
    rain-duration=4000
    use-economy=true
    dayvote-cost=0
    nightvote-cost=0
    sunvote-cost=0
    rainvote-cost=0
    
    english.lang
    Code:
    VOTE_COST=You have payed %cost% for this vote.
     
    

    from x.x.x to 0.7.x
    please let you config and language file rebuild

    from 0.7.0 to 0.7.2
    change VOTE_BROADCAST_PERMISSION to VOTE_BROADCAST
    in your language file

    from 0.5.x to 0.6.x
    add
    Code:
    VOTE_NO_PERMISSION=You have no permission to vote for that
    to your language files





    F.A.Q.:
    • Q: When enough people vote for day/sun will it stay forerver?
    • A: No it will change normaly until someone votes again.
    Known Issues:

    None. Please report here if you get in trouble!


    Changelog:
    Show Spoiler


    Version 0.9.0
    • Vault is supportet and NEEDED by now
    • added economic support, you may charge your player money for succesfull votes
    • cofigurable rain length
    [FONT=Georgia][COLOR=#141414][FONT=Georgia][FONT=Consolas]Version 0.8.2[/FONT][/FONT][/COLOR][/FONT]
    • Minecraft 1.8.1 support
    • spanish language file ... thx GladTek
    [FONT=Georgia][COLOR=#141414][FONT=Georgia][FONT=Consolas]Version 0.8.0[/FONT][/FONT][/COLOR][/FONT]
    [FONT=Georgia][COLOR=#141414][FONT=Georgia][FONT=Consolas]Version 0.7.2[/FONT][/FONT][/COLOR][/FONT]
    • bugfixes
    • german translation reincluded
    [FONT=Georgia][COLOR=#141414][FONT=Georgia][FONT=Consolas]Version 0.7.0[/FONT][/FONT][/COLOR][/FONT]
    • there are no "default no" votes anymore
    • players without the proper permission are NOT counted towards the respektive vote in any
    • option to broadcast new votes server wide
    Version 0.6.1
    • permissions 3 problems fixed
    Version 0.6.0
    • permissions support
    Version 0.5.1
    • multilanguage support
    • fixed all sync/majority calculation and logfile errors
    • improved GUI
    • german translation
    Version 0.4.7
    • fixed the PLAYER_QUIT event error
    • now syncs voterlists every vote
    • improved majority calculation
    • sync error causing exeptions
    Version 0.4.2
    • Initial public release
     
    isaac13_13 likes this.
  2. Offline

    Grotznak

    you just add
    bcvote.*
    as one permission node
    There are serveral different ways in how to achieve that, depending on you permissions version
    Please refer to the guides @The permissions plugin

    In permissions 2 your world.yml could look like this
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: '[Visitor] '
                suffix: ''
                build: false
            inheritance:
            permissions:
        Member:
            default: false
            inheritance:
            - Default
            info:
                prefix: '[Player] &6'
                suffix: ''
                build: true
            permissions:
            - bcvote.*
    users:
        Grotznak:
            group: Member
            permissions:
        KingDirk111:
            group: Member
            permissions:
        Livester:
            group: Member
            permissions:
    
    Which would add three Players to the "Member"group and grant this group acces to my lugin
     
  3. Offline

    Nelo

    French translation :
    Code:
    VOTING_COMMANDS_HEAD=Commandes :
    VOTING_COMMANDS_VOTE_DESC_DAY=-- Voter pour le lever du jour
    VOTING_COMMANDS_VOTE_DESC_NIGHT=-- Voter pour la tombée de la nuit
    VOTING_COMMANDS_VOTE_DESC_SUN=-- Voter pour le soleil
    VOTING_COMMANDS_VOTE_DESC_RAIN=-- Voter pour la pluie
    VOTING_COMMANDS_VOTE_DESC_UNDO=-- Annuler tout vos votes
    INFO_TIME=Heure actuelle :
    INFO_TIME_CLOCK=h
    VOTE_DAY=Vous avez voté pour le jour
    VOTE_DAY_ALREADY=C'est déjà le jour. Votre vote a quand même été comptabilisé
    VOTE_NIGHT=Vous avez voté pour la nuit
    VOTE_NIGHT_ALREADY=C'est déjà la nuit. Votre vote a quand même été comptabilisé.
    VOTE_SUN=Vous avez voté pour le soleil
    VOTE_SUN_ALREADY=Le soleil brille déjà. Votre vote a quand même été comptabilisé.
    VOTE_RAIN=Vous avez voté pour la pluie
    VOTE_RAIN_ALREADY=Il pleut déjà. Votre vote a quand même été comptabilisé.
    VOTE_TIME_CHANGE=Changement d'heure ...
    VOTE_WEATHER_CHANGE=Changement de météo ...
    SUM_HEAD=Il y a %yes% OUI et %no% NON sur %all% votants au total.
    SUM_BODY=%votes% % de joueurs ont voté et %yespercentage% % de ceux-ci ont voté YES
    SUM_FOOT=Pour que le vote soit validé vous avez besoin de %req% % de OUI (min) et une majorité de %min% % de votes.
    TRANSLATION=Traduit par Nelartic
    VOTE_NO_PERMISSION=Vous n'avez pas la permission de voter pour cela.
    VOTE_BROADCAST=Quelqu'un a participé au vote pour le/la %vote%. Actuellement, il y a %yes% OUI et %no% NON.
     
    Grotznak likes this.
  4. Offline

    Grotznak


    thank you very much will include this in the next release
     
  5. Offline

    Nelo

    You're welcome ;)
     
  6. Offline

    Koltrast

    Is this multiworld-compatible? :)
     
  7. Offline

    tickleman

    Question : how do you make "spoilers" like "note", "french.lang" etc. into this forum ? I do not know how to do this...
    Sorry for this question here but if you could help me...
     
  8. Offline

    Grotznak

    Code:
    [spoiler]Some text here[/spoiler]
    
    Compatible ? .. yes ... kinda

    It has no errors in multiworld environments.
    But all votes are countes as if there is only one world, and changes are executed in the world of the user who issued the last command/vote.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  9. Offline

    Erthy

    I can't seem to find how to give my users permissons to vote. I am using BukkitPermissions with the backporting plugin from the same topic and even though

    Code:
    default:
            permissions:
                permissions.build: false
                bcvote.*: true
    the users still can't use it.

    I promise to give you a Czech translation if you help me fix it. :) (I'd like to test the translation in use first.)
     
  10. Offline

    Grotznak

    Iam sorry
    This plugin supports the inofficial "permissions 2/3 plugin" only
    Ill will add support for the "permissions Bukkit" plugin after ive finished my last exams next week
     
  11. Offline

    Erthy

    Isn't the SuperpermsBridge v1.2 (jar) plugin (from that topic) supposed to make it behave like the inofficial permissions 2/3 plugin? It's a pitty if it's not as simple... :'(
     
  12. Offline

    LeafTravis

    does it last forever becuase i dont like that and you should add a snow features
     
  13. Offline

    Grotznak

    Hi

    as i said ill be back working on the plugin next week. :)

    What exactly do you want me to put in ? (exept the snow feature)
     
  14. Offline

    LeafTravis

    like not lasting it forever like it rain for a few min and goes back to sun but why cant u add snow feature?
     
  15. Offline

    Grotznak

    good ideas.
    Ill add costumizable rain/snow duration in the next release.

    But snow .. isnt it depending on the climate zone ?
     
  16. Offline

    LeafTravis

    oh right i still dont know how to change the climate zone :/
     
  17. Offline

    Erthy

    My users are waiting for it! Let me know when you have something to test! :)
     
  18. Offline

    Koblizek

    Grotznak likes this.
  19. Offline

    Grotznak

  20. Offline

    Grotznak

  21. Offline

    Erthy

    Hey, back from vacation and your plugin works with PermissionsBukkit.

    • Why is it though, that if 2 players vote for day, then other 2 for night, and then one of these four changes it, the vote says 4 for day, instead of 3 for day, 1 for night?
    • Secondly, why does it say 1.0 for night. Why not round it to 1? Is there anything as a half vote, or what? :)
    My promised czech translation here:

    http://broukej.cz/download/?file=czech.lang

    (corrected a few mistakes from Koblizek and changed the messages to formal language)
     
  22. Offline

    GladiTek

    Spanish translation:

    Code:
    VOTING_COMMANDS_HEAD=Comandos:
    VOTING_COMMANDS_VOTE_DESC_DAY=-- Votar por el dia.
    VOTING_COMMANDS_VOTE_DESC_NIGHT=-- Votar por la noche.
    VOTING_COMMANDS_VOTE_DESC_SUN=-- Votar por el sol.
    VOTING_COMMANDS_VOTE_DESC_RAIN=-- Votar por la lluvia.
    VOTING_COMMANDS_VOTE_DESC_UNDO=-- Deshacer todas las votaciones.
    INFO_TIME=hora actual:
    INFO_TIME_CLOCK=en punto.
    VOTE_DAY=has votado por el dia.
    VOTE_DAY_ALREADY=Es de dia! Tu voto se ha contado de todos modos.
    VOTE_NIGHT=has votado por la noche.
    VOTE_NIGHT_ALREADY=Es de noche! Tu voto se ha contado de todos modos.
    VOTE_SUN=has votado por el sol.
    VOTE_SUN_ALREADY=Esta el sol! Tu voto se ha contado de todos modos.
    VOTE_RAIN=has votado por la lluvia.
    VOTE_RAIN_ALREADY=Esta lloviendo! Tu voto se ha contado de todos modos.
    VOTE_TIME_CHANGE=Cambiando la hora...
    VOTE_WEATHER_CHANGE=Cambiando el tiempo...
    SUM_HEAD=Hay %yes% votos por el SI y %no% votos por el NO y en total hay %all% votos ahora mismo.
    SUM_BODY=En total %votes% % de jugadores han votado y %yespercentage% % de ellos han votado SI.
    SUM_FOOT=Para que el voto sea aprobado necesitas %req% % de votos por el SI (minimo) y una mayoria de %min% % de votos.
    TRANSLATION=Traducido por GladiTek.
    VOTE_NO_PERMISSION=No tienes permiso para votar eso.
    VOTE_BROADCAST=Alguien ha participado en una votacion para %vote%. Ahora mismo hay %yes% por el SI y %no% por el NO.
    
    after testing on my server this is the final edit. :)
     
    Grotznak likes this.
  23. Offline

    Kaosvf

    Hi,
    why don't you use http://dev.bukkit.org/ that the people can subscribe to updates via e-mail?
    Regards.
     
  24. wait how this works, if player types /vote sunshine (when it rains) the vote thing comes, but how i can vote yes or no? is it /vote yes or /vote no ? or what i need to vote? /vote sunshine FOR yes and /vote rain FOR no?
    pls lmk asap
     
  25. Offline

    spydercanopus

    I'm getting an error, "you don't have permission to do that" when trying to vote.

    I do not have permissions plug-in installed.

    I'm using version 0.8.0 because the 0.7.2 version gave a bunch of errors when you type /vote sun or something.

    How do I fix this? :(
     
  26. Offline

    Grotznak

    Thanks.
    Will do that

    /vote sun
    automaticaly votes yes for sun and no for rain

    Requires:
    permissions plugin (2 or 3) until version 0.7.x
    uses SuperPerms from 0.8.x on.

    please follow the guidelines given there

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  27. Offline

    kilern

    why cant my friends vote ???:confused:
     
  28. Offline

    Grotznak

    Have you set up a permissions plugin ?


    Permissions:
    Code:
    bcvote.* -- allow all votes
    bcvote.time -- allow votes for day or night
    bcvote.weather -- allow votes for weather changing
    
     
  29. Offline

    kilern

    hm dont know have doe i doe that?
     
  30. Offline

    Grotznak

    yes
     
  31. Offline

    Filecreator

    Hello, I`m new to the whole plugins and permissions, but I cant seem to get this to work.
    In my GlobalUsers, I have the following:
    users:
    filecreator:
    info:
    prefix: 'The Great'
    groups:
    - Admins
    permissions:
    bcvote.weather
    But somehow, the voting does not work.
    The error I`m getting is:
    An internal error occurred while attempting to preform this command
    What might i be doing wrong?
     

Share This Page