Wertzui123 / Rewards

A (daily) reward plugin for PocketMine-MP
GNU General Public License v3.0
15 stars 7 forks source link

error #6

Closed SuperAdam47 closed 5 years ago

SuperAdam47 commented 5 years ago

[21:15:43] [Server thread/CRITICAL]: TypeError: "date() expects parameter 2 to be integer, boolean given" (EXCEPTION) in "plugins/Rewards_dev-52.phar/src/Wertzui123/Rewards/reward" at line 44

Wertzui123 commented 5 years ago

Your config was generatet unsuccesfullly

SuperAdam47 commented 5 years ago

I dont touched config file

Wertzui123 commented 5 years ago

Hm, try a restart

SuperAdam47 commented 5 years ago

same error

Wertzui123 commented 5 years ago

Delete the config.yml, and restart the server 2 times

SuperAdam47 commented 5 years ago

same error

Wertzui123 commented 5 years ago

Show me your config

SuperAdam47 commented 5 years ago

This Plugin was written by Wertzui123 and you're not allowed to copy or clone it into you're plugin!

You also musn't change the author or the license.

© 2019 Wertzui123

#

GENEREL DATA

Don't edit the config version!

config_version: "2.0"

The time format

d = day

m = month

Y = Year

H = Hour

i = minute

time_format: "m.d.Y H:i"

The time how long the players have to wait befor claiming their rewards again

Please use minutes

Example: "2222 minutes"

1440 minutes is one day

wait_time: "1440 minutes"

These are the commands wich will be executed if the players get their rewards

The commands will be executed trought the console

{player} is the player who claimed his reward

IMPORTANT: Use \" instead of normal quotess

commands:

COMMAND

For help with the command configuration ask me on discord. xD

command: "reward" description: "Claim your reward" usage: "reward" aliases: ["claimreward"]

MESSAGES

This is the message wich appears when you don't have the permission to use /reward

no_permission: "§cYou don't have the permission to use /reward"

This is the message wich appears when you try to do "/reward" trough the console

run_ingame: "§cPlease run this command in-game"

This is the message wich appears when you have to wait until you can claim you're reward again

already_got_reward: "§cYou already got you're reward today! You have to wait until §e{until}§c!"

This is the message wich appears when you got you're reward

got_reward_succes: "§aYou succesfully got you're reward!" ...

Wertzui123 commented 5 years ago

Hm, I'll look at it later

Wertzui123 commented 5 years ago

Wich version do you use?

SuperAdam47 commented 5 years ago

lastest

setosakishima commented 5 years ago

not yet solved?

Wertzui123 commented 5 years ago

I don't know where the error is, because it works for me..

Wertzui123 commented 5 years ago

Should be fixed, in the update later, please try.

Wertzui123 commented 5 years ago

Technical problems, please wait

Wertzui123 commented 5 years ago

Should be fixed, please test it out!

SuperAdam47 commented 5 years ago

tested, no problems. thanks