コンテンツアイコン

MoneySystem 13.30

metowa1227

Member
11月 26, 2018
24
7
3
metowa1227 updated MoneySystem with a new update entry:

APIの仕様変更やUIの更新など

・MoneySystemのAPI単体ではUIを展開できなくなりました。
- 別のMSUIというプラグインが必要です。
・セーブデータの保存形式が変わりました。
- SQLite3からYAMLへ変更しました。
・APIの仕様が一部変わりました。
PHP:
// getAll関数の返り値の変更
// 旧バージョン
Array(4) {
    "name": "PlayerName"
    "money": 10000
    "cache": 0
    "by": "NONE"
}
// 新バージョン
Array(1) {
    "PlayerName": 10000 // money
}
PHP:
// set, increase, reduce関数の引数の順序変更
// 旧バージョン
public function set($player, int $money, string $reason = "none", string $by = "unknown") : bool;

// 新バージョン
public function...
Read the rest of this update entry...
 

NoNaMe(のなめ)

Well-known member
12 月 31, 2018
129
83
28
Gifu
nnm.localinfo.jp
エラー報告です。FormAPIかMoneySystemかどちらのエラーなのか分かりません...
Code:
[17:30:45] [Server thread/INFO]: XvXnonameXvX[████████] がエンティティ ID 1 として (world, 0.3, 4, 0.3) にログインしました
[17:30:51] [Server thread/INFO]: XvXnonameXvX がゲームに参加しました
[17:30:58] [Server thread/CRITICAL]: TypeError: "Argument 1 passed to jojoe77777\FormAPI\SimpleForm::__construct() must be of the type integer, array given, called in phar:///steadym/srv/NNMS/plugins/MSUI_v1.phar/src/msui/command/OpenUICommand.php on line 34" (EXCEPTION) in "plugins/FormAPI_0902.phar/src/jojoe77777/FormAPI/SimpleForm" at line 29
[17:30:58] [Server thread/DEBUG]: #0 plugins/MSUI_v1.phar/src/msui/command/OpenUICommand(34): jojoe77777\FormAPI\SimpleForm->__construct(array[2])
[17:30:58] [Server thread/DEBUG]: #1 src/pocketmine/command/SimpleCommandMap(270): msui\command\OpenUICommand->execute(object pocketmine\Player, string[4] msys, array[0])
[17:30:58] [Server thread/DEBUG]: #2 src/pocketmine/Server(2026): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\Player, string[4] msys)
[17:30:58] [Server thread/DEBUG]: #3 src/pocketmine/Player(2315): pocketmine\Server->dispatchCommand(object pocketmine\Player, string[4] msys)
[17:30:58] [Server thread/DEBUG]: #4 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(245): pocketmine\Player->chat(string[5] /msys)
[17:30:58] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
[17:30:58] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[17:30:58] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/protocol/BatchPacket(126): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
[17:30:58] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[17:30:58] [Server thread/DEBUG]: #9 src/pocketmine/Player(3217): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[17:30:58] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[17:30:58] [Server thread/DEBUG]: #11 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[18] ███████, object raklib\protocol\EncapsulatedPacket, integer 0)
[17:30:58] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[17:30:58] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[17:30:58] [Server thread/DEBUG]: #14 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
[17:30:58] [Server thread/DEBUG]: #15 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[17:30:58] [Server thread/DEBUG]: #16 src/pocketmine/Server(2346): pocketmine\snooze\SleeperHandler->sleepUntil(double 1572683458.8582)
[17:30:58] [Server thread/DEBUG]: #17 src/pocketmine/Server(2203): pocketmine\Server->tickProcessor()
[17:30:58] [Server thread/DEBUG]: #18 src/pocketmine/Server(1781): pocketmine\Server->start()
[17:30:58] [Server thread/DEBUG]: #19 src/pocketmine/PocketMine(257): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[18] /steadym/srv/NNMS/, string[26] /steadym/srv/NNMS/plugins/)
[17:30:58] [Server thread/DEBUG]: #20 src/pocketmine/PocketMine(281): pocketmine\server()
[17:30:58] [Server thread/DEBUG]: #21 (1): require(string[87] phar:///steadym/sys/multiphar/20191031_pmmp_v113_397.phar/src/pocketmine/PocketM)
[17:30:58] [Server thread/INFO]: XvXnonameXvX がゲームを退出しました
[17:30:58] [Server thread/INFO]: XvXnonameXvX[/███████] が Internal server error によってログアウトされました
 

Ayu00511

New member
3月 24, 2020
15
0
1
moneysystemlandであるワールドでのみ保護をしても破壊できてしまいます
何故でしょうか…