Closed DreamVoid closed 3 years ago
use the latest source, latest is fixed this problem https://github.com/Rosewood-Development/PlayerPoints/commit/4406dd03a22431c4587f5899f0bfde2ab9d5206c
use the latest source, latest is fixed this problem 4406dd0
That commit is unrelated to the issue referenced here.
Some plugin(such as DeluxeMenus) need to use %playerpoints_points% to get player's points. But this placeholder will return a number with character ",". This mean if a player has 5000 points, and when other plugin judge "%playerpoints_points% >=3000", it will return "false".
Thank you for this, didn't think about that. I'm going to modify the placeholder code myself to add a new one to get the points formatted and will keep the old one as the old format. Thank you for the pull request though.
Fixed in cbd679c6a19c713d5d79025e2cda6f899c8f7ece
but on the new update you add in https://github.com/Rosewood-Development/PlayerPoints/commit/4406dd03a22431c4587f5899f0bfde2ab9d5206c you can set the currency separator to empty and this work and change the placeholder too
Some plugin(such as DeluxeMenus) need to use %playerpoints_points% to get player's points. But this placeholder will return a number with character ",". This mean if a player has 5000 points, and when other plugin judge "%playerpoints_points% >=3000", it will return "false". Sorry for my poor English. I am Chinese.