Feature/ots player rewrite (#348)

* [WIP] Rewrite OTS_Player class

* Fix exception on load a non existing player

* Fix for servers that don't have the cap & conditions columns

* Fix created column on player save

* Update OTS_Player.php

* Add Monk Sample + fixes

* Move FAQ creation to import_base_data + cleanup
This commit is contained in:
Slawomir Boczek
2026-01-16 23:18:03 +01:00
committed by GitHub
parent 8103f5e70f
commit 276aa600e2
9 changed files with 249 additions and 328 deletions

View File

@@ -23,6 +23,8 @@ class Player extends Model {
public $timestamps = false;
protected $guarded = [];
protected $casts = [
'worldid' => 'integer',
'sex' => 'integer',