Coder Social home page Coder Social logo

Comments (19)

BenCodez avatar BenCodez commented on July 26, 2024

https://github.com/BenCodez/VotingPlugin/wiki/Votifier-Troubleshooting
Check this

from votifierplus.

wling-art avatar wling-art commented on July 26, 2024

https://github.com/BenCodez/VotingPlugin/wiki/Votifier-Troubleshooting
Check this

I have detected and turned on cmi related functions, but there is no response.

Plug-ins can receive information, but cmi can't and can't reward them.

from votifierplus.

BenCodez avatar BenCodez commented on July 26, 2024

Do you get the console log message of a vote?

from votifierplus.

wling-art avatar wling-art commented on July 26, 2024

I didn't get about the vote display, it appears to be hidden, but I can confirm that I have been prompted for the vote when I use Forwarding.
Overall I can make sure that VotifierPlus has received it, it just doesn't prompt.

from votifierplus.

BenCodez avatar BenCodez commented on July 26, 2024

Send the console log after a vote

from votifierplus.

wling-art avatar wling-art commented on July 26, 2024

No, it doesn't have a log to show.

from votifierplus.

BenCodez avatar BenCodez commented on July 26, 2024

If you get nothing then votifier isn't receiving the vote. https://github.com/BenCodez/VotingPlugin/wiki/Votifier-Troubleshooting

from votifierplus.

wling-art avatar wling-art commented on July 26, 2024

I was using extra mode to find an error and after the first one I couldn't receive any more voting messages .

> plugman restart VotifierPlus
[02:33:23 INFO]: [VotifierPlus] Disabling VotifierPlus v1.2
[02:33:23 INFO]: [VotifierPlus] Votifier disabled.
[02:33:23 INFO]: [VotifierPlus] Enabling VotifierPlus v1.2
[02:33:23 WARN]: Enabled plugin with unregistered ConfiguredPluginClassLoader VotifierPlus v1.2
[02:33:23 INFO]: [VotifierPlus] Debug: Detected using spigot
[02:33:23 INFO]: [VotifierPlus] Debug: Server in offline mode
[02:33:23 INFO]: [VotifierPlus] Debug: Clearing cache: 0
[02:33:23 INFO]: [VotifierPlus] Debug: Not loading userdata
[02:33:23 INFO]: [VotifierPlus] Debug: Tabcompletehandle not added, one already exists for (AllPlayer)
[02:33:23 INFO]: [VotifierPlus] Debug: Tabcompletehandle not added, one already exists for (Player)
[02:33:23 INFO]: [VotifierPlus] Debug: Tabcompletehandle not added, one already exists for (PlayerExact)
[02:33:23 INFO]: [VotifierPlus] Debug: Tabcompletehandle not added, one already exists for (uuid)
[02:33:23 INFO]: [VotifierPlus] Debug: Tabcompletehandle not added, one already exists for (Boolean)
[02:33:23 INFO]: [VotifierPlus] Debug: Tabcompletehandle not added, one already exists for (List)
[02:33:23 INFO]: [VotifierPlus] Debug: Tabcompletehandle not added, one already exists for (String)
[02:33:23 INFO]: [VotifierPlus] Debug: Tabcompletehandle not added, one already exists for (Text)
[02:33:23 INFO]: [VotifierPlus] Debug: Tabcompletehandle not added, one already exists for (Number)
[02:33:23 INFO]: [VotifierPlus] Debug: Tabcompletehandle not added, one already exists for (Reward)
[02:33:23 INFO]: [VotifierPlus] Debug: Tabcompletehandle not added, one already exists for (ChoiceReward)
[02:33:23 INFO]: [VotifierPlus] Debug: Tabcompletehandle not added, one already exists for (RequestMethod)
[02:33:23 INFO]: [VotifierPlus] Debug: Tabcompletehandle not added, one already exists for (UserStorage)
[02:33:23 INFO]: [VotifierPlus] Debug: Tabcompletehandle not added, one already exists for (TimeType)
[02:33:23 INFO]: [VotifierPlus] Debug: Not loading PostPlayerShowEvent
[02:33:23 INFO]: [VotifierPlus] Debug: Using AdvancedCore '3.7.3' built on '2024-02-11 18:54'  Spigot Version: git-Purpur-2095 (MC: 1.20.2) Total RAM: 8192 Free RAM: 4882
[02:33:23 INFO]: [VotifierPlus] Debug: Debug Level: EXTRA
[02:33:23 INFO]: [VotifierPlus] Debug: 0.0.0.0:2131
[02:33:23 INFO]: [VotifierPlus] Votifier enabled.
[02:33:23 INFO]: [VotifierPlus] Using dev build, this is not a stable build, use at your own risk. Build number: NOTSET
[02:33:23 INFO]: [VotifierPlus] ExtraDebug: Checking directlydefined rewards for sub rewards
[02:33:23 INFO]: [VotifierPlus] ExtraDebug: Checking reward file for sub rewards
[02:33:23 INFO]: [PlugMan] VotifierPlus 现已重新启动
[02:33:23 INFO]: [VotifierPlus] Debug: PlaceholderAPI found, will attempt to parse placeholders
[02:33:23 INFO]: [VotifierPlus] CMI found, loading hook
[02:33:28 INFO]: [VotifierPlus] Successfully hooked into vault economy!
[02:33:28 INFO]: [VotifierPlus] Hooked into vault permissions
[02:33:28 INFO]: [VotifierPlus] VotifierPlus is up to date! Version: 1.2
[02:34:32 INFO]: [VotifierPlus] Debug: Received vote record -> Vote (from:MCServerTime username:wlingzhenyu address:103.171.177.196 timeStamp:1711218871)
[02:34:32 WARN]: Exception in thread "Votifier I/O" java.lang.NoClassDefFoundError: com/vexsoftware/votifier/VotifierPlus$2$1
[02:34:32 WARN]:        at [V][点赞通知]VotifierPlus.jar//com.vexsoftware.votifier.VotifierPlus$2.callEvent(VotifierPlus.java:190)
[02:34:32 WARN]:        at [V][点赞通知]VotifierPlus.jar//com.vexsoftware.votifier.net.VoteReceiver.run(VoteReceiver.java:217)
[02:34:32 WARN]: Caused by: java.lang.ClassNotFoundException: com.vexsoftware.votifier.VotifierPlus$2$1
[02:34:32 WARN]:        ... 2 more

from votifierplus.

BenCodez avatar BenCodez commented on July 26, 2024

Redownload the jar?

from votifierplus.

wling-art avatar wling-art commented on July 26, 2024

Redownload the jar?

Oh, looks like I may have corrupted the plugin.
I re-downloaded the plugin, but the cmi still won't receive the vote info and give feedback.
Here are the relevant settings for my cmi:

Votifier:
  # When set to true votifier votes will be counted for player
  CountVotes: true
  # Number of votes one IP can make in last 24 hours
  # Set it to 0 to have unlimited amount
  MaxVotesInADay: 0
  # Cooldown between votes from same service
  # In most cases voting service will have its own cooldown setup
  # But if you need extra one to prevent rapid voting you can define time in seconds over here
  GeneralCooldown: 0
  # When set to false, commands on sucessfull vote will not be performed
  PerformCommands: true
  # Defines commands to be performed when player votes
  # Supports specialized commands and placeholders
  # [serviceName] variable can be used to insert address
  CommandsOnVote:
  - cmi broadcast !&6[playerDisplayName] &evoted!
  - cmi give [playerName] diamond
  # Keep it at false if you dont want to give out extra rewards
  ExtraRewardsEnabled: false
  # Commands will be performed when player collect determined amount of votes
  ExtraRewards:
    '10':
    - cmi heal [playerName]
    - cmi money give [playerName] 100
    '100':
    - cmi heal [playerName]
    - cmi money give [playerName] 1000
    - cmi give [playerName] diamond 32
  # List of players to be excluded from top voter list
  ExcludeList:
  - None

from votifierplus.

BenCodez avatar BenCodez commented on July 26, 2024

Do you get anything in the log when you do a vote? If not then you might have to figure out what the exact problem is. If you have a host ask them

from votifierplus.

wling-art avatar wling-art commented on July 26, 2024

I can get the vote info while debugging, but the cmi doesn't respond.


> plugman load VotifierPlus
[06:27:41 INFO]: [VotifierPlus] Loading server plugin VotifierPlus v1.2
[06:27:41 INFO]: [VotifierPlus] Enabling VotifierPlus v1.2
[06:27:42 INFO]: [VotifierPlus] Debug: Clearing cache: 0
[06:27:42 INFO]: [VotifierPlus] Debug: Not loading userdata
[06:27:42 INFO]: [VotifierPlus] Debug: Not loading PostPlayerShowEvent
[06:27:42 INFO]: [VotifierPlus] Debug: Using AdvancedCore '3.7.3' built on '2024-02-11 18:54'  Spigot Version: git-Purpur-2095 (MC: 1.20.2) Total RAM: 8192 Free RAM: 5361
[06:27:42 INFO]: [VotifierPlus] Debug: Debug Level: EXTRA
[06:27:42 INFO]: [VotifierPlus] Debug: 0.0.0.0:2131
[06:27:42 INFO]: [VotifierPlus] Votifier enabled.
[06:27:42 INFO]: [VotifierPlus] Using dev build, this is not a stable build, use at your own risk. Build number: NOTSET
[06:27:42 INFO]: [VotifierPlus] ExtraDebug: Checking directlydefined rewards for sub rewards
[06:27:42 INFO]: [VotifierPlus] ExtraDebug: Checking reward file for sub rewards
[06:27:42 INFO]: [PlugMan] VotifierPlus 已加载并启用
[06:27:42 INFO]: [VotifierPlus] CMI found, loading hook
[06:27:42 INFO]: [VotifierPlus] Debug: PlaceholderAPI found, will attempt to parse placeholders
[06:27:46 INFO]: [VotifierPlus] Successfully hooked into vault economy!
[06:27:46 INFO]: [VotifierPlus] Hooked into vault permissions
[06:27:47 INFO]: [VotifierPlus] VotifierPlus is up to date! Version: 1.2
[06:28:37 INFO]: [VotifierPlus] Debug: Received vote record -> Vote (from:mczfw.cn username:wlingzhenyu address:120.231.175.253 timeStamp:1711232917)

from votifierplus.

BenCodez avatar BenCodez commented on July 26, 2024

Wanna try nuvotifier and see if that changes anything?

from votifierplus.

wling-art avatar wling-art commented on July 26, 2024

That plugin is working fine, it's all my pro-voting plugins getting up and running!

from votifierplus.

BenCodez avatar BenCodez commented on July 26, 2024

I don't provide support for anything other than my plugins, from the log you sent above it appears votifierplus is working

from votifierplus.

wling-art avatar wling-art commented on July 26, 2024

But the problem is that Nuvotifier can notify other plugins that it's normal, but VotifierPlus won't.
That is, there are no plugins listening to VotifierPlus at all, but with Nuvotifier, there are some plugins listening.

from votifierplus.

wling-art avatar wling-art commented on July 26, 2024

Problems similar to #48

from votifierplus.

BenCodez avatar BenCodez commented on July 26, 2024

VotingPlugin works just fine with VotifierPlus, it's using the same event as nuvotifier, so unless the listening plugins are only working if certain votifier plugins are active there isn't much I can do

from votifierplus.

wling-art avatar wling-art commented on July 26, 2024

Well, things are as you say they are. Let's close this issue then.

from votifierplus.

Related Issues (20)

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.