[CHAT] BukkitVote 0.71 (Permissions&Superperm) [1240]

Discussion in 'Inactive/Unsupported Plugins' started by ethernity, Mar 8, 2011.

  1. Offline

    ethernity

    BukkitVote - a very basic vote Plugin.


    Download


    For Informations, older download links, tickets etc... look at:​


    (download link will be kept up to date, discussions may go on)​
    Want BukkitVote in your own language?
    Look at Localization and send me your own localized version of BukkitVote!
     
    kahlilnc, BenFudge and unenergizer like this.
  2. Offline

    Bronski

    Working ok with 1060?
     
  3. Offline

    ethernity

    It works for me
     
  4. Offline

    Bronski

    Yeah we're finding the output a touch confusing. Is there a timer of some sort before the votes are all counted? If so I'd like maybe 1-2 notices of it. I'd also like more meaningful output than who is eligible to vote. Someone started a day vote and it said:

    "1 votes of 4 permitted players for day"

    ... which left pretty much all of my users going, "Huh? What do we do with that?"

    My suggestions:

    It might be nice to know who is voting and to be told the command to react to the vote (always assume non-technical users who can't remember anything). How about:

    [Bronski] has voted for day. 2 more votes needed. Type "/accept day" to agree.
    10 seconds left to vote...
    Vote failed.

    Otherwise I think I'm okay with the plugin. I've been burning through replacements for LightVote since that one isn't being updated and I keep running into one or 2 little things that's keeping me from voting bliss :/

    Anyway, just a suggestion. Thanks and good luck with it :D
     
  5. Offline

    ethernity

    Thanks for the info, I think your suggestion is great!
    Although there is currently no timer for the votes.
     
  6. Suggestion (if you make it, we will use your plugin)
    Make a vote, that can be changed by admins in a config file. Admins can change which commands will be executed on the end of vote.
    OR
    Is simplier. A vote for server restart (is what we need).
    But first suggestion is better.
    Thanks! Hope you will make it (and fast:rolleyes:)
     
  7. Offline

    ethernity

    You're not the first who wants custom commands. Currently the problem is its not possible to make custom commands, without major not so beautiful hacks.

    Currently you can set which of the commands you want to use, thats all I can offer.
     
  8. Code:
    2011-09-03 15:13:35 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'vote' in plugin BukkitVote v0.41
        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:320)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
        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:85)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NoSuchFieldError: c
        at com.fabianbohr.bukkitvote.commands.BanCommand.makeHappen(BanCommand.java:36)
        at com.fabianbohr.bukkitvote.VoteListener.evaluate(VoteListener.java:144)
        at com.fabianbohr.bukkitvote.VoteListener.addVote(VoteListener.java:55)
        at com.fabianbohr.bukkitvote.VoteCommandExecutor.onCommand(VoteCommandExecutor.java:51)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    
    On successeful /vote ban.
    Player will be only kicked.
    In-game message:
    [Permissions] version [3.1.6] (Yeti)
    BukkitVote 0.41
    Commandbook 1.5.2
     
  9. Offline

    ethernity

    Thanks for the info!

    Updated to 0.43
     
  10. @ethernity
    Code:
    2011-09-04 12:40:32 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'vote' in plugin BukkitVote v0.43
        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:320)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
        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:85)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NoSuchMethodError: org.bukkit.Server.banIP(Ljava/lang/String;)V
        at com.fabianbohr.bukkitvote.commands.BanCommand.makeHappen(BanCommand.java:36)
        at com.fabianbohr.bukkitvote.VoteListener.evaluate(VoteListener.java:146)
        at com.fabianbohr.bukkitvote.VoteListener.addVote(VoteListener.java:57)
        at com.fabianbohr.bukkitvote.VoteCommandExecutor.onCommand(VoteCommandExecutor.java:51)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    damn!
    Now shows this error!
     
  11. Offline

    ethernity

    Which CB(craftbukkit) version do you use?
     
  12. Offline

    Hemlas

    I don't fully understand..... What does /accept <command> mean? do all the /vote commands start a vote or ......?
     
  13. Offline

    ethernity

    Thats a good question.
    The difference between /accept and /vote is that with /vote you can start a vote. So you only need /accept if you as a server admin want people to participate in votes they cant start. If you dont need this /vote just works fine.
     
  14. @ethernity
    cb 1000.

    Updated to 1060: still got the same error. As I think there's a bug or a collision with plugins.

    UPD: Trying to disable plugins. No effect right now
     
  15. Offline

    ethernity

    Updated to v0.5 has its own ban system.
    But there is currently no unban, if you want to unban go to your plugins folder and edit the banlist.yml

    And moved to BukkitDev
     
  16. Ohh thanks man, you saved my life with this fast update! [cake]
    Also it works :)
     
  17. Own bad system is not really bad, but how to unban players? Changing config and reload the server takes pretty much time.
    Is there an in-game command?
     
  18. Offline

    ethernity

    Currently not but you can unban on the fly, by deleting it out of the config, without restarting
     
  19. Please add permissions for player who cannpt be kicked/banned/muted
    Like:
    bukkitvote.unbannable etc.
    Thanks
     
  20. Offline

    ethernity

    Wont do it. Rework your permissions, set the right succes rate etc...
     
  21. Offline

    spoothie

    Could you add SuperPerms Support?
     
  22. Offline

    ethernity

    New Version 0.51
    Made some improvements for the ne RB 1185. Sometimes you wouldnt see broadcasted messages.

    @spoothie
    If you give me a hint how to do this....

    Nevermind it already has superperms support!
     
  23. Offline

    ethernity

    Updated to 0.6 it is now easy localizable. Just edit this in your own language:
    Code:
    error.accept.already={{RED}}This vote has not been initialized or you already accepted it
    error.accept.unknown={{RED}}There is no such vote command
    error.permissions={{RED}}You do not have permissions to use this command
    error.force.permissions={{RED}}You do not have the permissions to use this command. Generally it is an admin command
    error.notonserver={{RED}}{{PLAYER}} is not on this server
    force.success={{GREEN}} Forcing event
    muted=You are muted!
    mute.broadcast={{PLAYER}} has been muted
    mute.notmuted={{PLAYER}} is not muted
    unmute.broadcast={{PLAYER}} has been unmuted
    vote.start={{PLAYER}} has started {{VOTENAME}} vote
    vote.cond= Vote is successfull is at least {{RATE}} percent vote for it
    vote.cond2=Vote will be closed after {{TIME}}
    vote.succ={{GREEN}}Vote was successfull for {{VOTENAME}} {{ONOFF}}
    vote.status={{PLAYERSVOTED}} votes of {{ALLPLAYERS}} players for {{VOTENAME}}
    vote.status2=Type /accept {{VOTENAME}} to agree
    error.vote.minplayer={{RED}} Your vote will not be counted, insufficient players on the server
    error.vote.timelimit={{RED}} Vote {{VOTENAME}} has exceeded the time limit
    help.ban=bans a player
    help.eternalday=makes day last forever
    help.eternalnight=makes night last forever
    help.help=shows this
    help.kick=kicks <name> from the server
    help.mute=mutes <name>
    help.storm=starts/stops a storm in the world
    help.thunder=starts/stops a thunderstorm in the world
    help.day=makes day
    help.night=makes night
    help.unmute=unmutes <name>
    activated=activated
    deactivated=deactivated
    on=on
    off=off
    
    Then tell me which lanuage and in the next release it will be available!
     
  24. Offline

    ethernity

    v.0.61
    -added german language (to change language go to the config file and set locale: de)
    - fixed minor display bugs
     
  25. 1. There're not all strings:
    http://img210.imageshack.us/img210/4268/20111003002315.png
    /vote worldinfo
    2. There's typing error. Instead of 'help.eternalnight' there's 'help.eternalnigt' (see screenshot)

    Question: Why there're '66:0' after the text? Using Notepad++.

    My Version of Russian localization (hope all is right ^^)
    Code:
    error.accept.already={{RED}}Голосование не начато или ты уже проголосовал!
    error.accept.unknown={{RED}}Такого голосования нет
    error.permissions={{RED}}Нет прав на эту команду!
    error.force.permissions={{RED}}У тебя нет прав для этой команды. Это команда админов
    error.notonserver={{RED}}Игрока {{PLAYER}} нету на сервере!
    force.success={{GREEN}}Форсирование события
    muted=На тебе висит мут!
    mute.broadcast={{PLAYER}} получил мут
    mute.notmuted={{PLAYER}} без мута
    unmute.broadcast={{PLAYER}} снова без мута
    vote.start={{PLAYER}} начал голосование {{VOTENAME}}
    vote.cond=Голосование успешно при {{RATE}} процентах голосов
    vote.cond2=Голосование закончится после {{TIME}}
    vote.succ={{GREEN}}Голосование успешно за {{VOTENAME}} {{ONOFF}}
    vote.status={{PLAYERSVOTED}} из {{ALLPLAYERS}} голосов за {{VOTENAME}}
    vote.status2=Напиши /accept {{VOTENAME}} чтобы проголосовать!
    error.vote.minplayer={{RED}}Твой голос не будет засчитан, мало игроков на сервере!
    error.vote.timelimit={{RED}}Время голосования за {{VOTENAME}} прошло!
    help.ban= бан игрока
    help.eternalday=бесконечный день
    help.eternalnight=бесконечная ночь
    help.help=показывает помощь
    help.kick=кикает <name> с сервера
    help.mute=дает мут игроку <name>
    help.storm=вкл./выкл. дождь в мире
    help.thunder=вкл./выкл. грозу в мире
    help.day=делает день
    help.night=делает ночь
    help.unmute=снимает мут с игрока <name>
    activated=активно
    deactivated=неактивно
    on=вкл.
    off=выкл.
    bukkitvote_ru.properties

    And could you please add link to our portal?
    http://player.nnov.ru/mc/
     
  26. Offline

    ethernity

    I know that there are not all strings. Worldinfo will be removed from the plugin in the next update. And I'll try to make the help more understandable.
    To answer your question: the numbers are the percentage and minimum players value of the command. These are editable in the config.

    As soon as I'll put out a new version of bukkit I'll put a link to your portal

    I have some problems with encoding it right.
    I just made an UTF8 file with Notepad++ but the server shows wrong signs.
    Obviously you made it work. Can you attach your properties file?

    Oh and by the way add to the file a new line:
    help.switchmode=switches game modes for all players on the server

    This will be a new feature.

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

    ethernity

    Updated to 0.7
    added switchmode
     
  28. Offline

    Zombiemold

    This plugin is awesome, but I am noticing that it reverts anyone with creative, back to normal on login (we have never touched voting for creative). It's a bit disruptive for me as the admin, and other perma-creatives on the server.
     
  29. Offline

    ethernity

    Yeah I'm going to fix this!
    Hopefully fixed in version 0.71

    and some minor text overhauls
     
  30. @ethernity
    Did you say it to me? You tested my translation? Well you need a russian font to see the signs correctly. Most russian users already have it. If you need I can upload it for you. And bukkit (server) needs the fonts too. So if you want to see the signs correctly, you need to change server and client.
     

Share This Page