lukedarling / votereward Goto Github PK
View Code? Open in Web Editor NEWThe essential @PocketMine plugin for attracting more players.
Home Page: http://votereward.mcpe.me
The essential @PocketMine plugin for attracting more players.
Home Page: http://votereward.mcpe.me
Some people forget to switch all their {PLAYER}
s to {USERNAME}
s.
If a player is able to /vote twice in a row very quickly; they will get double rewards. I'm not sure if this only happens when server is heavily loaded; or if it can be reproduced when under light load.
Maybe this could be fixed by some kind of timer to not let them vote within the same minute?
http://votereward.mcpe.me/?p=api
API does not work ?
When somebody votes, he doesn't get any rewards altough the private key and all the things are correct.
Where is API KEY ?
Can someone of you help me how to use or how to put the api-key for voterewards
When executing /vote reload
, the configuration is not updated.
Color codes remain in their ampersand form instead of being replaced by the section symbol.
After drop vrc file into Lists folder and /vote reload, i can't vote :/
How do I set up the reward online like how you go the the websight and vote please help me!
it give the player things but only the portal command apply gut givemoney command and all others dont apply it was working like a charm on the old version please fix it
[Asynchronous Worker #3 thread/CRITICAL]: ErrorException: "file_get_contents(http://minecraftpeservers.org/vote-reward-check/55?api-key=XXX&username=XXX): failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request" (EXCEPTION) in "plugins/VoteReward_dev-10.phar/src/LDX/VoteReward/Utils" at line 40
[00:44:19] [Asynchronous Worker #3 thread/DEBUG]: #0 (): pocketmine\error_handler(integer 2, string file_get_contents(http://minecraftpeservers.org/vote-reward-check/55?api-key=XXX&username=XXX): failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request.., string plugins/VoteReward_dev-10.phar/src/LDX/VoteReward/Utils.php, integer 40, array Array())
[00:44:19] [Asynchronous Worker #3 thread/DEBUG]: #1 plugins/VoteReward_dev-10.phar/src/LDX/VoteReward/Utils(40): file_get_contents(string http://minecraftpeservers.org/vote-reward-check/55?api-key=XXX&username=XXX)
[00:44:19] [Asynchronous Worker #3 thread/DEBUG]: #2 plugins/VoteReward_dev-10.phar/src/LDX/VoteReward/RequestThread(21): LDX\VoteReward\Utils::getURL(string http://minecraftpeservers.org/vote-reward-check/55?api-key=XXX&username=XXX)
[00:44:19] [Asynchronous Worker #3 thread/DEBUG]: #3 src/pocketmine/scheduler/AsyncTask(67): LDX\VoteReward\RequestThread->onRun()
[00:44:19] [Asynchronous Worker #3 thread/DEBUG]: #4 (): pocketmine\scheduler\AsyncTask->run()
[00:44:19] [Server thread/CRITICAL]: Could not execute asynchronous task RequestThread: Task crashed
The Title Says it all. I want more forums support please. Like 1 or 3 more should be pretty good and OP.
The current API retrieval method does not work with the HTTPS protocol.
Ex:
1 vote - 1 A item
2 votes - 2 A items
3 votes - 1 B items
4 votes - 2 B items + 1 A item
Add an automatic upgrade from an API key to a VRC file for VoteReward 2.1.
is it possible you to add autocheck so player doesnt need to do /vote intead the system will
To-do:
rds);
[49] array_splice($server->getPluginManager()->getPlugin("VoteReward")->queue, array_search($this->id, $server->getPluginManager()->getPlugin("VoteReward")->queue, true), 1);
[50] }
[51]
[52] }
[53]
[54]
[55]
[56]
[57]
[58]
Backtrace:
#0 /src/pocketmine/scheduler/ServerScheduler(268): pocketmine\scheduler\AsyncPool->collectTasks(boolean)
#1 /src/pocketmine/Server(2990): pocketmine\scheduler\ServerScheduler->mainThreadHeartbeat(integer 15222)
#2 /src/pocketmine/Server(2683): pocketmine\Server->tick(boolean)
#3 /src/pocketmine/Server(2561): pocketmine\Server->tickProcessor(boolean)
#4 /src/pocketmine/Server(2076): pocketmine\Server->start(boolean)
#5 /src/pocketmine/PocketMine(467): pocketmine\Server->__construct(pocketmine\CompatibleClassLoader object, pocketmine\utils\MainLogger object, string phar:///home/tcagame_svc1323/stever/1323/PocketMine-MP.phar/, string /home/tcagame_svc1323/stever/1323/, string /home/tcagame_svc1323/stever/1323/plugins/, string unknown)
#6 (1): require_once(string phar:///home/tcagame_svc1323/stever/1323/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
Genisys version: 1.1dev #416 [Protocol 70; API 2.0.0]
uname -a: Linux gpanel.wobhosting.com 3.10.23-xxxx-std-ipv6-64 #1 SMP Tue Mar 18 14:48:24 CET 2014 x86_64
PHP version: 7.0.3
Zend version: 3.0.0
OS : Linux, linux
Loaded plugins:
加载的插件:
AlwaysSpawn 2.2.2 by Philip Shilling for API(s) 1.12.0
iProtector 3.1b by LDX for API(s) 1.9.0, 2.0.0
CommandSigns 2 by Samueljh1 for API(s) 1.0.0
EconomyAPI 2.0.9 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1, 1.12.0, 1.13.0, 2.0.0
ClearLagg 1.1.0 by LegendOfMCPE for API(s) 1.0.0
EconomyUsury 1.0.1 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1, 1.12.0, 1.13.0, 2.0.0
WorldEdit 1.1.0 by ikenusi, hmy2001(プラグインソース引用) for API(s) 1.13.0
TimeCommander 2.1 by LDX for API(s) 1.0.0, 2.0.0
WorldProtect 2.3.0 by aliuly for API(s) 1.10.0, 1.12.0, 2.0.0
VoteRewardLite 3.0.3 by LDX for API(s) 2.0.0
EconomyPotionDispenser 0.0.2 by Khinenw for API(s) 1.12.0, 2.0
SpawnWithItems 2.1 by LDX for API(s) 1.1.0, 2.0.0
EssentialsPE 2.0.0 by LegendsOfMCPE Team for API(s) 2.0.0
RestartMe 1.3.0 by Gamecrafter for API(s) 1.10.0, 2.0.0
SimpleAuth 1.7.2 by PocketMine Team, shoghicp for API(s) 2.0.0
ItemCloud 1.3 by onebone for API(s) 1.13.0, 2.0.0
ItemCasePE 1.1.0 by aliuly for API(s) 1.10.0, 1.13.0, 2.0.0
EconomyShop 2.0.7 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1, 1.12.0, 1.13.0, 2.0.0
EconomySell 2.0.7 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1, 1.12.0, 1.13.0, 2.0.0
EconomyLand 2.0.9 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1, 1.12.0, 1.13.0, 2.0.0
EconomyJob 2.0.4 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1, 1.12.0, 1.13.0, 2.0.0
SimpleAuthHelper 2.0.0 by aliuly for API(s) 1.12.0
EconomyProperty 2.0.6 by onebone for API(s) 2.0.0
SignWarp 1.6.0 by aliuly for API(s) 1.10.0, 1.12.0, 2.0.0
I have it downloaded and running but how do I set it up online? How do I set up the vote? PLEASE HELP
1st - I have a Minecraft Pocket Edition Server – I installed the plugin but there's no /vote Command (Unknown Command).
2nd - I cannot find a VoteReward/Lists/ folder. I don't know where to search or what that means.
3rd - The description doesn't tell me how to set rewards (e.g. you get 10 diamonds or diamond sword if you vote).
This plugin is really confusing. Please tell me how all this works ASAP (as soon as possible).
I need Creative Rewards for my server .. But I don't know how to put it .. Cuz I'm new in Pocketmine
I very recently installed genesis pocketmine on my windows computer but very often, there is a problem where no one can enter the server. as soon as you enter the server and it completes building terrain, minecraft closes and this happens for everyone. there are no error messages in the console. I have tried running pocketmine genisys with no plugins but this still happens randomly.
please help
[20:06:20] [Server thread/INFO]: Enabling VoteReward v2.1
[20:06:21] [Server thread/WARNING]: RuntimeException: "Invalid argument supplied for foreach()" (E_WARNING) in "/VoteReward.phar/src/LDX/VoteReward/Main" at line 22
[20:06:21] [Server thread/DEBUG]: #0 /src/pocketmine/plugin/PluginBase(86): LDX\VoteReward\Main->onEnable(boolean)
[20:06:21] [Server thread/DEBUG]: #1 /src/pocketmine/plugin/PharPluginLoader(123): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
[20:06:21] [Server thread/DEBUG]: #2 /src/pocketmine/plugin/PluginManager(562): pocketmine\plugin\PharPluginLoader->enablePlugin(LDX\VoteReward\Main object)
[20:06:21] [Server thread/DEBUG]: #3 /src/pocketmine/Server(1896): pocketmine\plugin\PluginManager->enablePlugin(LDX\VoteReward\Main object)
[20:06:21] [Server thread/DEBUG]: #4 /src/pocketmine/Server(1882): pocketmine\Server->enablePlugin(LDX\VoteReward\Main object)
[20:06:21] [Server thread/DEBUG]: #5 /src/pocketmine/Server(1699): pocketmine\Server->enablePlugins(integer 1)
[20:06:21] [Server thread/DEBUG]: #6 /src/pocketmine/PocketMine(464): pocketmine\Server->__construct(pocketmine\CompatibleClassLoader object, pocketmine\utils\MainLogger object, string phar://C:\Users\Honza\Documents\PocketMine-MP\PocketMine-MP.phar/, string C:\Users\Honza\Documents\PocketMine-MP, string C:\Users\Honza\Documents\PocketMine-MP\plugins)
[20:06:21] [Server thread/DEBUG]: #7 (1): require_once(string phar://C:/Users/Honza/Documents/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
Very great plugins before it stated to make Crash dumps
After the 3.0 update it started to crash , so I when to the pocketmine fourms to download the 2.1 version , I moved to the plugins folder . It made a crash dump , after I unstalled it , my server stopped crashing .The crashed dump stated after vote rewards loaded
If you want to view the crash dump see it here :
https://drive.google.com/file/d/0B4g0dcK1N_dyd21aRDBfTUctLXc/view?usp=docslist_api
Hello,
I'm currently migrating my server with plugins to php7 (Genisys).
With the latest source from GitHub I'm getting the following error when I use the command "/vote":
[20:32:21] [Server thread/CRITICAL]: Unhandled exception executing command 'vote' in vote: Threaded members previously set to Threaded objects are immutable, cannot overwrite queries
[20:32:21] [Server thread/CRITICAL]: RuntimeException: "Threaded members previously set to Threaded objects are immutable, cannot overwrite queries" (EXCEPTION) in "/plugins/VoteReward-master/src/LDX/VoteReward/RequestThread" at line 15
Will there be a version of VoteReward for php7? I would appreciate it very much... 😬
I very recently installed genesis pocketmine on my windows computer but very often, there is a problem where no one can enter the server. as soon as you enter the server and it completes building terrain, minecraft closes and this happens for everyone. there are no error messages in the console. I have tried running pocketmine genisys with no plugins but this still happens randomly.
please help
12.10 18:05:05 [Server] INFO Fatal error: Declaration of LDX\VoteReward\Main::onCommand(pocketmine\command\CommandSender $sender, pocketmine\command\Command $command, $label, array $args) must be compatible with pocketmine\plugin\PluginBase::onCommand(pocketmine\command\CommandSender $sender, pocketmine\command\Command $command, string $label, array $args): bool in /plugins/VoteReward-master/src/LDX/VoteReward/Main.php on line 158
You are assuming that VoteReward is still loaded and enabled in onCompletion of RequestThread, which may not be the case.
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.