Coder Social home page Coder Social logo

votingplugin's Introduction

VotingPlugin

Plugin on SpigotMC https://www.spigotmc.org/resources/votingplugin.15358/

License

Creative Commons Arttribution 3.0 Unported

https://github.com/BenCodez/VotingPlugin/blob/master/VotingPlugin/Resources/LICENSE.txt

Maven:

<repository>
    <id>BenCodez Repo</id>
    <url>https://nexus.bencodez.com/repository/maven-public/</url>
</repository>

<dependency>
    <groupId>com.bencodez</groupId>
    <artifactId>votingplugin</artifactId>
    <version>LATEST</version>
    <scope>provided</scope>
</dependency>

Versions:
LATEST - latest stable release

votingplugin's People

Contributors

akdukaan avatar akshualy avatar bencodez avatar dependabot[bot] avatar kaanakduman avatar melon-oof avatar nahuld avatar notalexnoyle avatar pseudoforceyt avatar shivelight avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

votingplugin's Issues

Improve wiki

Improve wiki on API - Improve API
Split wiki page for config edit commands in wiki page
Improve VoteSite info

3.1 Versions Plans/Todos

3.1:

  • Monthly Top Voter Award
  • Auto reset top voter
  • Heads/Signs for top voter
  • Performance tweaking
  • Add licensing
  • Create wiki for signs/monthly top voter award

Later:

  • PlaceHolderAPI support in Format.yml (where applicaple), make placeholders ignore casing
  • Release PlaceHolderAPI Expansion?
  • Json?
  • Add more formats
  • Make placeholders ignore casing?
  • Code cleanup

Better formats

  • Add default for formats (incase its not in the config)
  • Disable reward msg with empty string

/vote error

[INFO]: Player issued server command: /vote

org.bukkit.command.CommandException: Unhandled exception executing command 'vote' in plugin VotingPlugin v3.3.5
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[craftbukkit.jar:git-Spigot-4af49dc-c5e9a16]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[craftbukkit.jar:git-Spigot-4af49dc-c5e9a16]
at org.bukkit.craftbukkit.v1_9_R2.CraftServer.dispatchCommand(CraftServer.java:645) ~[craftbukkit.jar:git-Spigot-4af49dc-c5e9a16]
at net.minecraft.server.v1_9_R2.PlayerConnection.handleCommand(PlayerConnection.java:1349) [craftbukkit.jar:git-Spigot-4af49dc-c5e9a16]
at net.minecraft.server.v1_9_R2.PlayerConnection.a(PlayerConnection.java:1184) [craftbukkit.jar:git-Spigot-4af49dc-c5e9a16]
at net.minecraft.server.v1_9_R2.PacketPlayInChat.a(PacketPlayInChat.java:45) [craftbukkit.jar:git-Spigot-4af49dc-c5e9a16]
at net.minecraft.server.v1_9_R2.PacketPlayInChat.a(PacketPlayInChat.java:1) [craftbukkit.jar:git-Spigot-4af49dc-c5e9a16]
at net.minecraft.server.v1_9_R2.PlayerConnectionUtils$1.run(SourceFile:13) [craftbukkit.jar:git-Spigot-4af49dc-c5e9a16]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_51]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_51]
at net.minecraft.server.v1_9_R2.SystemUtils.a(SourceFile:45) [craftbukkit.jar:git-Spigot-4af49dc-c5e9a16]
at net.minecraft.server.v1_9_R2.MinecraftServer.D(MinecraftServer.java:726) [craftbukkit.jar:git-Spigot-4af49dc-c5e9a16]
at net.minecraft.server.v1_9_R2.DedicatedServer.D(DedicatedServer.java:399) [craftbukkit.jar:git-Spigot-4af49dc-c5e9a16]
at net.minecraft.server.v1_9_R2.MinecraftServer.C(MinecraftServer.java:665) [craftbukkit.jar:git-Spigot-4af49dc-c5e9a16]
at net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:564) [craftbukkit.jar:git-Spigot-4af49dc-c5e9a16]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51]
Caused by: java.lang.NullPointerException

Please fix this and add a option to set the Command Priority. (I have a other Plugin with a /vote command)

Vote Sound

i think a option to enable/disable with a vote confirmation sound it would be nice :-)

VoteGUI

Add /vote gui
Have default items

/v today

/v today not working properly

order votesite

how i can change the votesite order? (without rename)

Spamming votes causes errors

Prevent same file from being edited at the same time on different threads - Make one thread handle file editng.

Planned for 3.4.

v3.2 Plans/Todo's

  • Special Prizes
  • Culumative Prizes
  • PlaceHolderAPI Expansion (Basic Version)
  • Rewrite how to detect no items
  • More formats
  • PlaceHolders in Format.yml ignore casing (Mostly)
  • Change ChanceReward to ExtraReward
  • Add more to /av sites [site]
  • Make new stuff preloaded
  • Bug/Feature testing
  • Cleanup plugin page on spigot
  • Create wiki for ExtraRewards/Cumulative Rewards
  • Improve wiki

PlaceHolderAPI Expansion

Add a placeholder expansion for placeholders

PlaceHolders:
%VotingPlugin_CanVote% - true/false
%VotingPlugin_Total% - total votes

Todo:

  • add more placeholders

Cumulative Prizes

E.g. Reward for every 20 votes

Todo:

  • Add to files
  • Store cumulative votes in user file
  • Check for cumulative votes
  • Give Reward

uuids.yml

I use a Whitelist and why get this File all Player?
I can show Player with /vote top which not listed on my Whitelist. Thats not good.

Please list only Player with min one Vote for this Server. thanks

Better API

  • Make custom vote event - allow abilty to cancle event
  • Better Command System - allow addons to inject into /vote, better command alias system (WIP)

Fix /v tab

/v tab doesn't work, but /VotingPlugin:v tab works
Works on some servers

Monthly Top Voter Award

Give rewards to top monthly voters.
Auto reset top voter afterwards.
Store top voters in file

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.