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

    Hi what Plugin do you use to store you permissions (PermissionsBukkit?) ?
    Also please try the other Permission nodes aswell.

    bcvote.*
    bcvote.time
     
  3. Offline

    Filecreator

    Now I get the error that I dont have the permissions to vote for this.
    Im using the latest version of permissions, and editing this in GlobalUsers.yml
     
    goldseed likes this.
  4. Offline

    goldseed

    Code:
    org.bukkit.command.CommandException: Unhandled exception executing command 'vote' in plugin bcVote v0.8.0
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:352)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:737)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
    
    bcvote 0.8 does not work...with permissions bukkit.

    0.7 works with bridge.
     
  5. Offline

    Grotznak

    see my post below



    Ive testet it with several craftbukkit builds from 1060 onwards, and some mc 1.8 testing builds (1128)
    works fine with PermissionBukkit 1.2

    used this config file

    Code:
    users:
        Grotznak:
            permissions:
                permissions.example: true
            groups:
            - admin
    groups:
        default:
            permissions:
                permissions.build: false
        admin:
            permissions:
                permissions.*: true
                bcvote.*: true
            inheritance:
            - user
        user:
            permissions:
                permissions.build: true
                permissions.destroy: true
            worlds:
                creative:
                    coolplugin.item: true
            inheritance:
            - default
    messages:
        build: '&cYou do not have permission to build here.'
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  6. Offline

    Laviic

    Hi Grotznak!

    Since i upgraded my Server to the 1.8.1 Build 1149 all my users get the "Bukkit sad." message when they use a /vote command, but the server itself does not throw any error messages on the console.
    Could you try to investigate?

    Thanks!
     
  7. Offline

    Grotznak

    New Version:
    https://github.com/downloads/Grotznak/bcVote/bcVote_v0.8.2.zip
    stable with version 1185

    Iam using permissionsbukkit with this config:

    Code:
    users:
        Grotznak:
            permissions:
                permissions.example: true
            groups:
            - admin
    groups:
        default:
            permissions:
                permissions.build: false
        admin:
            permissions:
                permissions.*: true
            inheritance:
            - user
        user:
            permissions:
                permissions.build: true
                bcvote.*: true
            worlds:
                creative:
                    coolplugin.item: true
            inheritance:
            - default
    messages:
        build: '&cYou do not have permission to build here.'
    
     
  8. Offline

    oglop

    Hi, plugin looks good, but Czech tranlsation by Koblizek has mistakes!

    I'll update my server, then correct his mistakes.
    Erthy also did good job, but I'll use more common translation.
    Should be finished tonight ;)
    Thank you
     
    Grotznak likes this.
  9. Offline

    Bajsmabb

    Why does bukkit get sad

    Why u use bukkits permissions! its stupid

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

    Grotznak

    It should support all "modern" permissions plugins now i.e. :
    PEX or permissinsBukkit
    You can use version 7.x if you want to use permissions 2
     
  11. Offline

    MJRamon

    Hi! I use GroupManager from Essentials (latest, 1185, SuperPerm support), I've wrote for default group:
    - bcvote.*
    But noone, even admins, can vote. I get this message in the console:
     
  12. Offline

    Laviic

    Hi Grotznak!

    Thank you very much for updating! But sadly, the new Version is pretty much useless for me if it does not support Permissions 3 ... Also, i've tried to revert to version 0.7.2 in order to use Permissions, but that version just gives me the "Bukkit Sad" message again. Is there any chance you could re-implement Permissions 3 support? Pretty please? :'(

    -Laviic
     
  13. Offline

    Grotznak

    Hi, i fixed the "bukkit sad" issue in the 0.7.2 Version of bcVote

    its working on Mc 1.8.1 with Permissions 2 (Phoenix), should be the same for permissions 3
    https://github.com/downloads/Grotznak/bcVote/bcVote_v0.7.3.zip

    Hi i will investigate into that

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

    MJRamon

    Any news?
     
  15. Offline

    Kohle

    Nice. Love the idea; you also inspired me :)
     
    Grotznak likes this.
  16. Offline

    oglop

    hello, I just had a time and translated Vote into Czech language :).
    I used more common way of translation.

    Code:
    VOTING_COMMANDS_HEAD=Prikazy:
    VOTING_COMMANDS_VOTE_DESC_DAY=-- Volit pro den.
    VOTING_COMMANDS_VOTE_DESC_NIGHT=-- Volit pro noc.
    VOTING_COMMANDS_VOTE_DESC_SUN=-- Volit pro slunecno.
    VOTING_COMMANDS_VOTE_DESC_RAIN=-- Volit pro destivo.
    VOTING_COMMANDS_VOTE_DESC_UNDO=-- zpet (reset) vrati vsechny vase volby.
    INFO_TIME=aktualni cas:
    INFO_TIME_CLOCK=hodin
    VOTE_DAY=Volil jsi den.
    VOTE_DAY_ALREADY=Prave je den, nicmene tvuj hlas byl zapocitan.
    VOTE_NIGHT=Volil jsi noc.
    VOTE_NIGHT_ALREADY=Prave je noc, nicmene tvuj hlas byl zapocitan.
    VOTE_SUN=Volil jsi slunecno.
    VOTE_SUN_ALREADY=Slunce uz sviti, nicmene tvuj hlas byl zapocitan.
    VOTE_RAIN=Volil jsi destivo.
    VOTE_RAIN_ALREADY=Uz prsi, nicmene tvuj hlas byl zapocitan.
    VOTE_TIME_CHANGE=Zmena casu...
    VOTE_WEATHER_CHANGE=Zmena pocasi...
    SUM_HEAD=Uz hlasovalo %yes% lidi pro YES a %no% pro NO, celkem hlasovalo %all%. 
    SUM_BODY=Uz hlasovalo %votes% % a %yespercentage% % hlasovalo YES 
    SUM_FOOT=Pro uspesnost hlasovani potrebujes %req% % hlasu pro YES a vetsina hlasu je %min% %.
    TRANSLATION=by oglop
    VOTE_NO_PERMISSION=Nemas opravneni pro toto hlasovani
    VOTE_BROADCAST=Bylo zapocato hlasovani o %vote%. Stav je %yes% pro YES a %no% pro NO.
    
     
    Grotznak likes this.
  17. Offline

    Laviic

    Hi Grotznak!

    0.7.3 is working fine with Permissions 3. And the "Bukkit Sad" message is gone aswell. Thank you very much!

    -Laviic
     
    Grotznak likes this.
  18. Offline

    nafoulinard

    Am i doing something wrong?....

    users:
    nafoulinard:
    permissions:
    permissions.*: true
    bcVote.*
    bcVote.time
    bcVote.weather
    groups:
    - admin
    groups:
    default:
    permissions:
    permissions.build: false
    bcVote.*
    bcVote.time
    bcVote.weather
    admin:
    permissions:
    permissions.*: true
    bcVote.*
    bcVote.time
    bcVote.weather
    inheritance:
    - user
    user:
    permissions:
    permissions.build: true
    bcVote.*
    bcVote.time
    bcVote.weather
    worlds:
    creative:
    coolplugin.item: true
    inheritance:
    - default

    tried bcvote.* alone, with a "V" in caps and without, tried with PermissionsBukkit v1.1 (jar) and 1.2
    with SuperpermsBridge v1.2 (jar) enabled too
    i type in /vote sun (or any of the 3 others) and i get the
    BlockCraft Voting:
    You have no permission to vote for that
    i try it in Op mode or in normal mode, just can't get it to work at all... nether me or my friends
    trying it on 1.8.1 and using 0.8.2 bcvote
     
  19. Offline

    GLR457

    using this on my server with bpermissions 1.7.2 and working just fine :)

    hope this get up dated with 1.9 10.0 releases.
     
  20. Offline

    nafoulinard

    Nvm... my bad, never wrote ": true"
     
  21. Offline

    xtre

    Enable or disable the use of permissions option maybe?
    Thats if its possible.
     
  22. Offline

    spydercanopus

    The description says it lasts until you log out, but the TIME doesn't last, only your vote. So you have to keep /vote day every X minutes until it's night, right? That's how it seems to work on mine anyway.
     
  23. Offline

    PlannedBoredom

    ADD GROUPMANAGER ACCESSIBILITY PLEASE. and yes, caps were needed.
     
  24. Offline

    Spajder

    this plugin crashed my plugins or something and now i need to install everything again . thanks man -.-
     
  25. Offline

    Arubian

    maybe put iconomy support so every time you start a vote it takes money off?
     
  26. Offline

    Grotznak

    good idea
     
  27. Offline

    FerrOHShay

    iConomy is Good. But can you also implement essentialseco :c?
     
  28. Offline

    Grotznak

    Now with VAULT support,
    it should support all big permissions and economic plugins now
     
  29. Offline

    ogr93

    works in Craftbuild 1818 or 1846?
     
  30. Offline

    Grotznak

    Testet and working at build Build #1846
    all other builds are untestet.
     
  31. Offline

    isaac13_13

    Votes should get sent to an admin for seclection, when a vote is allowed. Then, u should b able 2 close voting, until the vote is open again.
     

Share This Page