Closed samp-pinch closed 7 years ago
Looks like a permission problem, try (on Linux console, go in the folder with your functioms config first) "chown username config.yml" (replace username with the user you are running the server with)
Is the data folder created? Did you delete the config.yml?
I'll try :D
Man there is no Functions folder
Its not created
Hmm man,I probably know how to fix,can u give me some rank to can contribute??
Fixed it local
Please can you give me updated version or fix it. I'm getting these errors
Notice: Undefined variable: name in C:\Desktop\New folder (10)\plugins\Functions-master\src\Ad5001\Functions\Main.php on line 47
Notice: Undefined variable: cmd in C:\Desktop\New folder (10)\plugins\Functions-master\src\Ad5001\Functions\Main.php on line 48
and some more errors
Notice: Undefined offset: 1 in C:\Desktop\New folder (10)\plugins\Functions-master\src\Ad5001\Functions\Main.php on line 162
Notice: Undefined offset: 2 in C:\Desktop\New folder (10)\plugins\Functions-master\src\Ad5001\Functions\Main.php on line 166
Notice: Array to string conversion in C:\Desktop\New folder (10)\plugins\Functions-master\src\Ad5001\Functions\Main.php on line 167
Notice: Undefined offset: 3 in C:\Desktop\New folder (10)\plugins\Functions-master\src\Ad5001\Functions\Main.php on line 171
Notice: Undefined offset: 4 in C:\Desktop\New folder (10)\plugins\Functions-master\src\Ad5001\Functions\Main.php on line 173
Will see about this...
Ok look at the new commit, should be fixed.
Still shows this when starting.
Warning: file_put_contents(C:\Desktop\New folder (10)\plugins\Functions/config.yml): failed to open stream: No such file or directory in C:\Users\Gamer27832 server\Desktop\New folder (10)\src\pocketmine\utils\Config.php on line 208
Then this after I manually copy the folder
`Notice: Undefined variable: name in C:\Desktop\New folder (10)\plugins\Functions-master\src\Ad5001\Functions\Main.php on line 24
Notice: Undefined variable: name in C:\Desktop\New folder (10)\plugins\Functions-master\src\Ad5001\Functions\Main.php on line 24
Notice: Undefined variable: name in C:\Desktop\New folder (10)\plugins\Functions-master\src\Ad5001\Functions\Main.php on line 24
Notice: Undefined variable: name in C:\Desktop\New folder (10)\plugins\Functions-master\src\Ad5001\Functions\Main.php on line 24
Notice: Undefined variable: name in C:\Desktop\New folder (10)\plugins\Functions-master\src\Ad5001\Functions\Main.php on line 24
Notice: Undefined variable: name in C:\New folder (10)\plugins\Functions-master\src\Ad5001\Functions\Main.php on line 24
Notice: Undefined variable: name in C:\Desktop\New folder (10)\plugins\Functions-master\src\Ad5001\Functions\Main.php on line 24
Notice: Undefined variable: name in C:\Desktop\New folder (10)\plugins\Functions-master\src\Ad5001\Functions\Main.php on line 24`
when running the function I created it says unknown command
I alrefy try,that bro local,and not work
Alredy
Should be fixed now.
Sorry for troubling you however when I start server, it shows this on plugin load "Notice: Undefined variable: name in C:\Desktop\New folder (10)\plugins\Functions-master\src\Ad5001\Functions\Main.php on line 24 "
In-game the command doesn't work and only works with "./". No errors in console
With the new commit, it should be fixed
Ad5001 bro trust me,u cannot do it...its impssible from 0.17+ (I meant where when u type / its show list)
It should show.
Still the commands made using functions dont show up or work. Just says unknown command. Forexample /hub doesnt work but ./hub does
That's a bug in the Server Software (which will be fixed soon I hope).
They don't show up because they aren't registered as commands.
MCPE is not registering after joined commands. Try rejoning / retstart your server.
They don't show up because they aren't registered as commands.
...in MCPE, forgot to say that xD
Even after rejoining and restarting server, the commands are not registered. Still show unknown command
So that's a MCPE bug we cannot do anything about it (the command with a dot before is the same code as the normal ones) Do it with a dot. We cannot do anything about it.
Thanks for trying
So that's a MCPE bug we cannot do anything about it (the command with a dot before is the same code as the normal ones) Do it with a dot. We cannot do anything about it.
Isn't it a server issue because of the way commands are handled im 1.0 zhe devs had to add a hack for the commands, so it's basically a server software issue, but it's Mojangs fault xD
I tried using Tesseract and the regular / commands work fine
Here we go lol
I cannot create function. Read copy .log fir details.
Logs/Errors
Warning: file_put_contents(/storage/emulated/0/PocketMine/plugins/Functions/config.yml): failed to open stream: No such file or directory in /storage/emulated/0/PocketMine/src/pocketmine/utils/Config.php on line 207
Warning: file_put_contents(/storage/emulated/0/PocketMine/plugins/Functions/config.yml): failed to open stream: No such file or directory in /storage/emulated/0/PocketMine/src/pocketmine/utils/Config.php on line 207
Warning: file_put_contents(/storage/emulated/0/PocketMine/plugins/Functions/config.yml): failed to open stream: No such file or directory in /storage/emulated/0/PocketMine/src/pocketmine/utils/Config.php on line 207
Notice: Undefined variable: name in /storage/emulated/0/PocketMine/plugins/Functions-master/src/Ad5001/Functions/Main.php on line 47
Notice: Undefined variable: cmd in /storage/emulated/0/PocketMine/plugins/Functions-master/src/Ad5001/Functions/Main.php on line 48 [Tesseract] [20:56:12] INFO> [Functions] Function Hub has been created! You can edit it on the config or by doing /function ac <command number> .
Warning: file_put_contents(/storage/emulated/0/PocketMine/plugins/Functions/config.yml): failed to open stream: No such file or directory in /storage/emulated/0/PocketMine/src/pocketmine/utils/Config.php on line 207 [Tesseract] [20:56:21] INFO> [Functions] Function Hub not found. Create it with /function c Hub
But I alredy do /function create Hub and again this last msg