georgev220 / voterewards-5.2.2_snapshot Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://www.mc-market.org/resources/9094/
License: GNU General Public License v3.0
Home Page: https://www.mc-market.org/resources/9094/
License: GNU General Public License v3.0
nvm no issue
Describe the bug
An error occurs when VotingPlugin sends an event to VoteRewards on 1.16.5
To Reproduce
Run a 1.16.5 PaperMC Minecraft server, set the plugin up, and do /fakevote. Items are received, but there are no "thanks for voting" message. There's an error in the console.
Expected behavior
I expected it to print the correct message and not throw out an error.
Screenshots
https://i.imgur.com/Kzq5EtY.png
https://i.imgur.com/RdGUOLR.png
Server Info (please complete the following information):
Additional context
There's nothing to add. Thank you in advance for your help.
Describe the bug
Sometimes %player% doesn't update when new player votes and reward goes to random player (maybe who previously voted).
To Reproduce
I don't really know how to reproduce it. It sometimes gives reward to correct player but sometimes to someone else.
Expected behavior
%player% should update currectly with every player vote.
Screenshots
https://prnt.sc/1r1re8z
Server Info (please complete the following information):
Minecraft 1.17.1 (Purpur-1368)
Java 16
VoteRewards v5.1.0
NuVotifier v2.7.3
Describe the bug
NullPointerException
To Reproduce
Have a player join the server
Expected behavior
Not have an NPE error fill the console lol
Server Info (please complete the following information):
Additional Context
It's worth noting that the server is being connected to from a Velocity 3.0.0 proxy, running this setup locally as I'm creating a network for the first time from scratch and friends are helping build stuff.
It should also be noted that I have not configured VoteRewards, or really any plugin yet on this instance for that matter.
Here is the error log:
[12:51:34 WARN]: java.lang.NullPointerException
[12:51:34 WARN]: at java.base/java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011)
[12:51:34 WARN]: at java.base/java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006)
[12:51:34 WARN]: at com.georgev22.voterewards.externals.utilities.maps.ConcurrentObjectMap.append(ConcurrentObjectMap.java:43)
[12:51:34 WARN]: at com.georgev22.voterewards.utilities.player.UserVoteData$FileUserUtils$1.onSuccess(UserVoteData.java:697)
[12:51:34 WARN]: at com.georgev22.voterewards.utilities.player.UserVoteData$FileUserUtils.setupUser(UserVoteData.java:766)
[12:51:34 WARN]: at com.georgev22.voterewards.utilities.player.UserVoteData$FileUserUtils.load(UserVoteData.java:693)
[12:51:34 WARN]: at com.georgev22.voterewards.utilities.player.UserVoteData.load(UserVoteData.java:280)
[12:51:34 WARN]: at com.georgev22.voterewards.listeners.PlayerListeners.onJoin(PlayerListeners.java:48)
[12:51:34 WARN]: at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor789.execute(Unknown Source)
[12:51:34 WARN]: at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69)
[12:51:34 WARN]: at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76)
[12:51:34 WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[12:51:34 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:624)
[12:51:34 WARN]: at net.minecraft.server.players.PlayerList.postChunkLoadJoin(PlayerList.java:360)
[12:51:34 WARN]: at net.minecraft.server.players.PlayerList.lambda$placeNewPlayer$1(PlayerList.java:302)
[12:51:34 WARN]: at net.minecraft.server.network.PlayerConnection.tick(PlayerConnection.java:307)
[12:51:34 WARN]: at net.minecraft.network.NetworkManager.a(NetworkManager.java:555)
[12:51:34 WARN]: at net.minecraft.server.network.ServerConnection.c(ServerConnection.java:196)
[12:51:34 WARN]: at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1643)
[12:51:34 WARN]: at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:482)
[12:51:34 WARN]: at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1465)
[12:51:34 WARN]: at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1261)
[12:51:34 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317)
[12:51:34 WARN]: at **java.base/java.lang.Thread.run(Thread.java:831)**
Build 'VoteRewards' is failing!
Last 50 lines of build output:
[...truncated 5.22 KB...]
Downloading from georgev22-snapshot: https://artifactory.georgev22.com/artifactory/libs-snapshot/fr/xephi/authme/5.6.0-SNAPSHOT/maven-metadata.xml
Downloading from placeholderapi: http://repo.extendedclip.com/content/repositories/placeholderapi/fr/xephi/authme/5.6.0-SNAPSHOT/maven-metadata.xml
Downloading from bintray-repo: https://dl.bintray.com/ichbinjoe/public/fr/xephi/authme/5.6.0-SNAPSHOT/maven-metadata.xml
Downloading from codemc-repo: https://repo.codemc.io/repository/maven-public/fr/xephi/authme/5.6.0-SNAPSHOT/maven-metadata.xml
Progress (1): 1.4 kB Downloaded from codemc-repo: https://repo.codemc.io/repository/maven-public/fr/xephi/authme/5.6.0-SNAPSHOT/maven-metadata.xml (1.4 kB at 7.5 kB/s)
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ VoteRewards ---
[INFO] Deleting /var/jenkins_home/workspace/VoteRewards/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ VoteRewards ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ VoteRewards ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 40 source files to /var/jenkins_home/workspace/VoteRewards/target/classes
[INFO] /var/jenkins_home/workspace/VoteRewards/src/main/java/com/georgev22/voterewards/utilities/player/UserVoteData.java: Some input files use or override a deprecated API.
[INFO] /var/jenkins_home/workspace/VoteRewards/src/main/java/com/georgev22/voterewards/utilities/player/UserVoteData.java: Recompile with -Xlint:deprecation for details.
[INFO] /var/jenkins_home/workspace/VoteRewards/src/main/java/com/georgev22/voterewards/utilities/Assertions.java: Some input files use unchecked or unsafe operations.
[INFO] /var/jenkins_home/workspace/VoteRewards/src/main/java/com/georgev22/voterewards/utilities/Assertions.java: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /var/jenkins_home/workspace/VoteRewards/src/main/java/com/georgev22/voterewards/VoteRewardPlugin.java:[3,65] package com.georgev22.externals.com.tchristofferson.configupdater does not exist
[ERROR] /var/jenkins_home/workspace/VoteRewards/src/main/java/com/georgev22/voterewards/VoteRewardPlugin.java:[78,13] cannot find symbol
symbol: variable ConfigUpdater
location: class com.georgev22.voterewards.VoteRewardPlugin
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.608 s
[INFO] Finished at: 2021-02-16T23:11:55Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project VoteRewards: Compilation failure: Compilation failure:
[ERROR] /var/jenkins_home/workspace/VoteRewards/src/main/java/com/georgev22/voterewards/VoteRewardPlugin.java:[3,65] package com.georgev22.externals.com.tchristofferson.configupdater does not exist
[ERROR] /var/jenkins_home/workspace/VoteRewards/src/main/java/com/georgev22/voterewards/VoteRewardPlugin.java:[78,13] cannot find symbol
[ERROR] symbol: variable ConfigUpdater
[ERROR] location: class com.georgev22.voterewards.VoteRewardPlugin
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Build step 'Invoke top-level Maven targets' marked build as failure
Archiving artifacts
Changes since last successful build:
Describe the bug
When a player joins the server this warn shows up
To Reproduce
Steps to reproduce the behavior: just join the server
Expected behavior
A clear and concise description of what you expected to happen.
No warnings?
Screenshots
If applicable, add screenshots to help explain your problem.
Server Info (please complete the following information):
Additional context
https://pastebin.com/Lq5xfwhi
Hello. Some months back I asked if it was possible to set the amount of people shown in the /vtop command. You said you would re-add it to the plugin, but after 4 months, it hasn't been added.
Just wanted to ask again, if you could please add this feature back ๐
Also, it seems that the Lucky vote is broken. It doesn't really matter what value you put as the chance. It's always around 1%
(Ex. if I set it to 10. It's not 10% but still 1%. If I set it to 50, it's also around 1%). Not sure what's going on with that.
I'm using the latest official version: 3.3.6
In the wiki, under softdepends, there is 2 of the same thing
PlaceholderAPI
MVdWPlaceholderAPI
AuthMeReloaded
WorldEdit or FastAsyncWorldEdit
**PlaceholderAPI**
Why is there 2 of the same thing?
Describe the bug
Plugin errors out and doesn't work.
Logs: https://mclo.gs/xVVYujy
Server Info:
I know it's holidays atm, so if you see this. Feel free to ignore it and relax during the holidays for now ๐
I really like the new features in the 4.x updates. The hologram addition is pretty awesome!
And it's good to see that the amount of top voters can be customized now.
Votetop footer
I'm having some issues trying to disable the votetop footer. I tried making it empty or putting [] in the config.
The first attempt resulted in an empty line and the second attempt resulted in a NULL error.
I would love to see a way to disable it in the future.
Placeholders
Then there's the placeholders:
voterewards_total_votes voterewards_votes_needed voterewards_votes_until voterewards_player_votes voterewards_top_voter
They seem to be pretty broken atm. total_votes and player_votes returns 0 for me, no matter how many votes a person has. top_voter seems to be the only one working. And I'm not even sure what votes_needed and votes_until are supposed to do. Are they related to cumulative voting? vote parties?
I would really like to use placeholders elsewhere. So I would also love to see this fixed in the future as well.
Thank you for your work on this plugin and happy holidays!
Describe the bug
I see an alert on the console, what does it mean?
Screenshots
I have attached server log file
Server Info (please complete the following information):
I have the server hosted on a hosting called Scalacube
Additional context
I also have the problem that people who vote do not receive rewards
Please excuse me if this a dumb issue but I can't figure out how exactly to add a vote site. Any help? thank you
Describe the bug
Reminder is still set to false and still reminding me in a shorter time than set
To Reproduce
Paper server running the latest version of VoteRewards
Expected behavior
Vote reminders disable or take longer
Screenshots
If applicable, add screenshots to help explain your problem.
Server Info (please complete the following information):
Additional context
Add any other context about the problem here.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.