Coder Social home page Coder Social logo

cucumber's People

Contributors

adeynes avatar captainduck avatar cosmicnebula200 avatar lycol50 avatar poggit-bot 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  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cucumber's Issues

Update

Can you Update it please ?****

oops

i did not mean to create this issue sorry.

Plugin not working even though I gave a valid sql link

So I didnt understand why the plugin was working at first until then I realized I needed a MySQL Link, so I got one from the hosting im using to host the server, gave it a password and it still doesnt work. Do I need to create a schema called cucumber?

question?

in the config.yml do u have to create a schema/database called cucumber

also if u want cucumber to access your MySQL server do u need phpmyadmin

[cucumber] SQL PREPARE error

@adeynes

Ci-dessous un message d'erreur dans la configuration suivante .
Dans la database aucun enregistrement relatif à ce joueur.
Qu'en pensez vous ?

cucumber_dev-42
https://jenkins.pmmp.io/job/PocketMine-MP/1434/

2018-09-17 [18:43:31] [Server thread/ERROR]: [cucumber] SQL PREPARE error: MySQL server has gone away, for query INSERT INTO players (name, ip, first_join, last_join)
VALUES (?, ?, UNIX_TIMESTAMP(), UNIX_TIMESTAMP())
ON DUPLICATE KEY UPDATE ip = ?, last_join = UNIX_TIMESTAMP(); | ["Tiranor77","1XX.XXX.XXX.27","1XX.XXX.XXX.27"]
2018-09-17 [18:43:31] [Server thread/NOTICE]: Player data not found for "Tiranor77", creating new profile
2018-09-17 [18:43:32] [Server thread/INFO]: Tiranor77[/1XX.XXX.XXX.27:53852] logged in with entity id 4 at (lobby, 273, 68, 252)
2018-09-17 [18:43:33] [Server thread/INFO]: [18:43:33] Tiranor77 joined the game for the first time.

----------------------------------------------------------------------------------------------------------------

2018-09-17 [18:48:09] [Server thread/INFO]: Tiranor77[/1XX.XXX.XXX.27:53852] logged out due to timeout
2018-09-17 [18:48:25] [Server thread/INFO]: [/1XX.XXX.XXX.27:49704] logged out due to Login timeout
2018-09-17 [18:48:44] [Server thread/ERROR]: [cucumber] SQL PREPARE error: MySQL server has gone away, for query INSERT INTO players (name, ip, first_join, last_join)
VALUES (?, ?, UNIX_TIMESTAMP(), UNIX_TIMESTAMP())
ON DUPLICATE KEY UPDATE ip = ?, last_join = UNIX_TIMESTAMP(); | ["Tiranor77","1XX.XXX.XXX.27","1XX.XXX.XXX.27"]
2018-09-17 [18:48:45] [Server thread/INFO]: Tiranor77[/1XX.XXX.XXX.27:63566] logged in with entity id 12 at (lobby, 273, 68, 252)
2018-09-17 [18:48:46] [Server thread/INFO]: Server op Tiranor77 joined.
2018-09-17 [18:48:46] [Server thread/INFO]: [VPNGuard] Player Tiranor77 has connected with the IP: 1XX.XXX.XXX.27
2018-09-17 [18:48:46] [Server thread/INFO]: [18:48:46] Tiranor77 joined the game.
2018-09-17 [18:48:56] [Server thread/INFO]: Tiranor77[/1XX.XXX.XXX.27:63566] logged out due to timeout

Installed Cucumber but it wont connect to mysql.

I installed cucumber and set up MySQL but it still will not connect.
I get this error:
[10:42:27] [Server thread/INFO]: Enabling cucumber v1.3.1 [10:42:30] [Server thread/CRITICAL]: adeynes\cucumber\libs\poggit\libasynql\SqlError: "SQL CONNECT error: Unknown database 'cucumber'" (EXCEPTION) in "cucumber.phar/src/adeynes/cucumber/libs/poggit/libasynql/libasynql" at line 133 [10:42:30] [Server thread/DEBUG]: #0 cucumber.phar/src/adeynes/cucumber/Cucumber(93): adeynes\cucumber\libs\poggit\libasynql\libasynql::create(string object(adeynes\cucumber\Cucumber), array Array(), array Array()) [10:42:30] [Server thread/DEBUG]: #1 cucumber.phar/src/adeynes/cucumber/Cucumber(53): adeynes\cucumber\Cucumber->initDatabase() [10:42:30] [Server thread/DEBUG]: #2 src/pocketmine/plugin/PluginBase(102): adeynes\cucumber\Cucumber->onEnable() [10:42:30] [Server thread/DEBUG]: #3 src/pocketmine/plugin/PluginManager(611): pocketmine\plugin\PluginBase->setEnabled(boolean 1) [10:42:30] [Server thread/DEBUG]: #4 src/pocketmine/Server(1931): pocketmine\plugin\PluginManager->enablePlugin(string object(adeynes\cucumber\Cucumber)) [10:42:30] [Server thread/DEBUG]: #5 src/pocketmine/Server(1917): pocketmine\Server->enablePlugin(string object(adeynes\cucumber\Cucumber)) [10:42:30] [Server thread/DEBUG]: #6 src/pocketmine/Server(1711): pocketmine\Server->enablePlugins(integer 1) [10:42:30] [Server thread/DEBUG]: #7 src/pocketmine/PocketMine(237): pocketmine\Server->__construct(string object(BaseClassLoader), string object(pocketmine\utils\MainLogger), string C:\Users\Zander Maitland\Desktop\Pocketmine\, string C:\Users\Zander Maitland\Desktop\Pocketmine\plugins\) [10:42:30] [Server thread/DEBUG]: #8 C:/Users/Zander Maitland/Desktop/Pocketmine/PocketMine-MP.phar(1): require(string phar://C:/Users/Zander Maitland/Desktop/Pocketmine/PocketMine-MP.phar/src/pocketmine/PocketMine.php) [10:42:30] [Server thread/INFO]: Disabling cucumber v1.3.1

Error in PM4 update

Error: "Typed property adeynes\cucumber\Cucumber::$log_dispatcher must not be accessed before initialization" (EXCEPTION) in "plugins/Cucumber_v3.1.phar/src/adeynes/cucumber/Cucumber" at line 79

Totally unjustified

I am trying to get help from you and you are rudely ignoring me. It is not fair u are not giving me any sort of help at all. (extremely disrespectful). I thought u were a nice person but your clearly not!!!

Why?Why?

[15:08:24] [Server thread/ERROR]: [cucumber] SQL PREPARE error: MySQL server has gone away, for query SELECT * FROM players WHERE name = ?; | ["wertzui12345"]

Crash Report on /ban

Hello, when i write /Ban in the INGAME Chat than my Server ist crashing. Sorry for my Bad English im German.

Error: adeynes\cucumber\libs\adeynes\parsecmd\form\Form cannot implement pocketmine\form\Form - it is not an interface
File: cucumber.phar/src/adeynes/cucumber/libs/adeynes/parsecmd/form/Form
Line: 9
Type: E_ERROR

THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: cucumber v1.6.2

Code:
[1] <?php
[2] declare(strict_types=1);
[3]
[4] namespace adeynes\cucumber\libs\adeynes\parsecmd\form;
[5]
[6] use pocketmine\form\Form as IForm;
[7] use pocketmine\Player;
[8]
[9] abstract class Form implements IForm
[10] {
[11]
[12] /** @var array /
[13] protected $data;
[14]
[15] /
*
[16] * @var array Nice human-readable names to reference fields instead of numbers
[17] */
[18] protected $aliases = [];
[19]

cucumber's database has not been upgraded to support 2.0 on this system. Proceeding with the migration...

[00:46:12] [Server thread/NOTICE]: [cucumber] cucumber's database has not been upgraded to support 2.0 on this system. Proceeding with the migration...
[00:46:12] [Server thread/NOTICE]: [cucumber] Proceeding with player migration...
[00:46:12] [Server thread/NOTICE]: [cucumber] Proceeding with ban migration...
[00:46:12] [Server thread/NOTICE]: [cucumber] Proceeding with ip-ban migration...
[00:46:12] [Server thread/NOTICE]: [cucumber] Proceeding with uban migration...
[00:46:12] [Server thread/NOTICE]: [cucumber] Proceeding with mute migration...
[00:46:12] [Server thread/NOTICE]: [cucumber] Proceeding with warnings migration...
[00:46:12] [Server thread/ERROR]: [cucumber] SQL EXECUTION error: REFERENCES command denied to user 'u1571_0wxMlp5mgX'@'104.243.34.19' for table 's1571_cucumber.cucumber_players', for query CREATE TABLE IF NOT EXISTS cucumber_bans (
id INT UNSIGNED AUTO_INCREMENT,
player_id INT UNSIGNED NOT NULL,
reason VARCHAR(500) DEFAULT NULL,
expiration INT UNSIGNED,
moderator VARCHAR(32) NOT NULL,
time_created INT UNSIGNED NOT NULL,
PRIMARY KEY (id),
FOREIGN KEY fk__cucumber_bans__player_id__cucumber_players__id (player_id) REFERENCES cucumber_players(id),
FOREIGN KEY fk__cucumber_bans__moderator__cucumber_players__name (moderator) REFERENCES cucumber_players(name)
); | []
[00:46:12] [Server thread/ERROR]: [cucumber] SQL EXECUTION error: REFERENCES command denied to user 'u1571_0wxMlp5mgX'@'104.243.34.19' for table 's1571_cucumber.cucumber_players', for query CREATE TABLE IF NOT EXISTS cucumber_ip_bans (
id INT UNSIGNED AUTO_INCREMENT,
ip VARCHAR(39) NOT NULL,
reason VARCHAR(500) DEFAULT NULL,
expiration INT UNSIGNED,
moderator VARCHAR(32) NOT NULL,
time_created INT UNSIGNED NOT NULL,
PRIMARY KEY (id),
FOREIGN KEY fk__cucumber_ip_bans__moderator__cucumber_players__name (moderator) REFERENCES cucumber_players(name)
); | []
[00:46:12] [Server thread/ERROR]: [cucumber] SQL EXECUTION error: REFERENCES command denied to user 'u1571_0wxMlp5mgX'@'104.243.34.19' for table 's1571_cucumber.cucumber_players', for query CREATE TABLE IF NOT EXISTS cucumber_ubans (
id INT UNSIGNED AUTO_INCREMENT,
ip VARCHAR(39) NOT NULL,
reason VARCHAR(500) DEFAULT NULL,
moderator VARCHAR(32) NOT NULL,
time_created INT UNSIGNED NOT NULL,
PRIMARY KEY (id),
UNIQUE KEY ip (ip),
FOREIGN KEY fk__cucumber_ubans__moderator__cucumber_players__name (moderator) REFERENCES cucumber_players(name)
); | []
[00:46:13] [Server thread/ERROR]: [cucumber] SQL EXECUTION error: REFERENCES command denied to user 'u1571_0wxMlp5mgX'@'104.243.34.19' for table 's1571_cucumber.cucumber_players', for query CREATE TABLE IF NOT EXISTS cucumber_mutes (
id INT UNSIGNED AUTO_INCREMENT,
player_id INT UNSIGNED NOT NULL,
reason VARCHAR(500) DEFAULT NULL,
expiration INT UNSIGNED,
moderator VARCHAR(32) NOT NULL,
time_created INT UNSIGNED NOT NULL,
PRIMARY KEY (id),
FOREIGN KEY fk__cucumber_mutes__player_id__cucumber_players__id (player_id) REFERENCES cucumber_players(id),
FOREIGN KEY fk__cucumber_mutes__moderator__cucumber_players__name (moderator) REFERENCES cucumber_players(name)
); | []
[00:46:13] [Server thread/ERROR]: [cucumber] SQL EXECUTION error: REFERENCES command denied to user 'u1571_0wxMlp5mgX'@'104.243.34.19' for table 's1571_cucumber.cucumber_players', for query CREATE TABLE IF NOT EXISTS cucumber_warnings (
id INT UNSIGNED AUTO_INCREMENT,
player_id INT UNSIGNED NOT NULL,
reason VARCHAR(500) DEFAULT NULL,
expiration INT UNSIGNED,
moderator VARCHAR(32) NOT NULL,
time_created INT UNSIGNED NOT NULL,
PRIMARY KEY (id),
FOREIGN KEY fk__cucumber_warnings__player_id__cucumber_players__id (player_id) REFERENCES cucumber_players(id),
FOREIGN KEY fk__cucumber_warnings__moderator__cucumber_players__name (moderator) REFERENCES cucumber_players(name)
); | []
[00:46:13] [Server thread/ALERT]: [cucumber] All the tables could not be correctly built
[00:46:13] [Server thread/INFO]: Disabling cucumber v2.0.0

What means this?

[20:46:43] [Server thread/CRITICAL]: cucumber has already instantiated parsecmd!

broken

well clearly your plugin is corrupted because i have entered the right info and it hasn't worked

command disable

ability to disable certain commands that are in the plugin

The 'cucumber plugin had a problem during execution.

The log indicates that there was a SQL CONNECT error (Line 163):

163| 2021-01-05 [13:33:11] [Server thread/CRITICAL]: adeynes\cucumber\libs\poggit\libasynql\SqlError: "SQL CONNECT error: Connection refused" (EXCEPTION) in "plugins/cucumber.phar/src/adeynes/cucumber/libs/poggit/libasynql/libasynql" at line 141

164 | 2021-01-05 [13:33:11] [Server thread/CRITICAL]: #0 plugins/cucumber.phar/src/adeynes/cucumber/Cucumber(141): adeynes\cucumber\libs\poggit\libasynql\libasynql::create(string[33] object(adeynes\cucumber\Cucumber), array[3], array[1])
165 | 2021-01-05 [13:33:11] [Server thread/CRITICAL]: #1 plugins/cucumber.phar/src/adeynes/cucumber/Cucumber(70): adeynes\cucumber\Cucumber->initDatabase()
166 | 2021-01-05 [13:33:11] [Server thread/CRITICAL]: #2 pmsrc/src/pocketmine/plugin/PluginBase(116): adeynes\cucumber\Cucumber->onEnable()
167 | 2021-01-05 [13:33:11] [Server thread/CRITICAL]: #3 pmsrc/src/pocketmine/plugin/PluginManager(552): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
168 | 2021-01-05 [13:33:11] [Server thread/CRITICAL]: #4 pmsrc/src/pocketmine/Server(1786): pocketmine\plugin\PluginManager->enablePlugin(string[33] object(adeynes\cucumber\Cucumber))
169 | 2021-01-05 [13:33:11] [Server thread/CRITICAL]: #5 pmsrc/src/pocketmine/Server(1772): pocketmine\Server->enablePlugin(string[33] object(adeynes\cucumber\Cucumber))
170 | 2021-01-05 [13:33:11] [Server thread/CRITICAL]: #6 pmsrc/src/pocketmine/Server(1585): pocketmine\Server->enablePlugins(integer 1)
171 | 2021-01-05 [13:33:11] [Server thread/CRITICAL]: #7 pmsrc/src/pocketmine/PocketMine(272): pocketmine\Server->__construct(string[23] object(BaseClassLoader), string[35] object(pocketmine\utils\MainLogger), string[8] /server/, string[16] /server/plugins/)
172 | 2021-01-05 [13:33:11] [Server thread/CRITICAL]: #8 pmsrc/src/pocketmine/PocketMine(302): pocketmine\server()
173 | 2021-01-05 [13:33:11] [Server thread/CRITICAL]: #9 pmsrc(11): require(string[56] phar:///server/server.phar/src/pocketmine/PocketMine.php)

Here's the full log link: https://mclo.gs/PxWzlMi#L163

I hope this can contribute to improvements in the plugin
Regards

Error

[Server thread/CRITICAL]: TypeError: "Return value of adeynes\cucumber\Cucumber::getPunishmentManager() must be an instance of adeynes\cucumber\mod\PunishmentManager, null returned" (EXCEPTION) in "plugins/cucumber_dev-4.phar/src/adeynes/cucumber/Cucumber" at line 194

config

I entered in the correct password and username for the MySQL server and I put in the schema and the plugin still doesn't work is that what you were meant to do

Add Webhook

Plz Add a webhook for discord and for punishments as we could see on discord

question

can you explain how to create a database in the config.yml

Expired Punishments Not Displaying in /history

So, on my server /history only displays current punishments on players. I have done different tests on myself (banning myself) and they display on /history until the ban expires. Once the ban expires, it says I have 0 punishment history. I have done the same test on my friend and the same thing happens.

not an issue

is it possible to use SQLite to get the plugin working

and what do you do if u want to use SQLite in the config.yml

and finally how to u change the players stable option

Plugin issue

23:19:40] [Server thread/CRITICAL]: adeynes\cucumber\libs\poggit\libasynql\SqlError: "SQL CONNECT error: Connection refused" (EXCEPTION) in "plugins/cucumber.phar/src/adeynes/cucumber/libs/poggit/libasynql/libasynql" at line 141
[23:19:40] [Server thread/CRITICAL]: #0 plugins/cucumber.phar/src/adeynes/cucumber/Cucumber(141): adeynes\cucumber\libs\poggit\libasynql\libasynql::create(string[33] object(adeynes\cucumber\Cucumber), array[3], array[1])
[23:19:40] [Server thread/CRITICAL]: #1 plugins/cucumber.phar/src/adeynes/cucumber/Cucumber(70): adeynes\cucumber\Cucumber->initDatabase()
[23:19:40] [Server thread/CRITICAL]: #2 pmsrc/src/pocketmine/plugin/PluginBase(116): adeynes\cucumber\Cucumber->onEnable()
[23:19:40] [Server thread/CRITICAL]: #3 pmsrc/src/pocketmine/plugin/PluginManager(552): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
[23:19:40] [Server thread/CRITICAL]: #4 pmsrc/src/pocketmine/Server(1786): pocketmine\plugin\PluginManager->enablePlugin(string[33] object(adeynes\cucumber\Cucumber))
[23:19:40] [Server thread/CRITICAL]: #5 pmsrc/src/pocketmine/Server(1772): pocketmine\Server->enablePlugin(string[33] object(adeynes\cucumber\Cucumber))

Cucumber ERROR

Hi there today is 3/27/2021 i found many errors with the plugin in my console here is the screenshot of the error please fix it, OR tell me how to fix it this plugin is awesome by the way.

CLICK HERE FOR THE ERROR PNG!

connection issue

when i try to start my server with cucumber installed it get this error

2020-06-18 [16:49:28] [Server thread/CRITICAL]: adeynes\cucumber\libs\poggit\libasynql\SqlError: "SQL CONNECT error: Connection refused" (EXCEPTION) in "plugins/cucumber.phar/src/adeynes/cucumber/libs/poggit/libasynql/libasynql" at line 133

is this fixable

Doesn't ban on other server

Ban system doesn't check the mysql to see if the player was ban when they were ban on other server on the same mysql

crash server

could you add yamlv data provider

because my server crash using cucumber with mysql db and no error on log

thanks

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.