Coder Social home page Coder Social logo

votereward's People

Contributors

dapigguy avatar lukedarling avatar shoghicp 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

votereward's Issues

If a player votes twice in a row very quickly; they get double rewards.

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?

VoteReward issue

When somebody votes, he doesn't get any rewards altough the private key and all the things are correct.

Color codes not working

Color codes remain in their ampersand form instead of being replaced by the section symbol.

Something wrong

After drop vrc file into Lists folder and /vote reload, i can't vote :/

PLEASE HELP ME

How do I set up the reward online like how you go the the websight and vote please help me!

It Doesnt apply commands

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

Newest Version (Dev10) Getting Error

[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

More Forums Support Please

The Title Says it all. I want more forums support please. Like 1 or 3 more should be pretty good and OP.

SSL Support

The current API retrieval method does not work with the HTTPS protocol.

Automatic Upgrade

Add an automatic upgrade from an API key to a VRC file for VoteReward 2.1.

Request

is it possible you to add autocheck so player doesnt need to do /vote intead the system will

VoteReward 3.0

To-do:

  • Update plugin.yml with new information.
  • Update QueryTask.php to use new Request object system.
  • Create new Request object class,
  • Update Main.php to use new Request object system.
  • Update Main.php to pool voting items.
  • Implement new server list configuration system.
  • Create specifications for server lists to create their VRC files.
  • Create specifications for server lists to create their APIs.
  • Update global configuration file with new features.
  • Debug.

crash

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

Please help me

I have it downloaded and running but how do I set it up online? How do I set up the vote? PLEASE HELP

I don't know how all this works...

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).

How Adding Rewards

I need Creative Rewards for my server .. But I don't know how to put it .. Cuz I'm new in Pocketmine

mcpe closing as soon as joining server

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

PLugin doesn´t load

[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)

php7 compatibility

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... 😬

mcpe closing as soon as joining server

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

error

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

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.