feat(city): add player marketplace, mission journal, character customization and presence

- Player-to-player marketplace with listings, buying and selling
- Mission system with progress tracking and money rewards
- Character appearance customization (skin, hair, face, beard, accessory)
- Multiplayer presence feed showing nearby citizens in near-real-time
- Admin world dashboard with live platform metrics
- Bus and train transportation with temporary ride state
- Mobile joystick controls and minimap HUD
- Education bonus applied to work salary
This commit is contained in:
2026-10-17 22:51:20 -03:00
parent 18778b3d26
commit a620f83dd8
30 changed files with 1822 additions and 10 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
# City10 database backup — run on the cloud host (cron recommended daily).
set -euo pipefail
cd "$(dirname "$0")/.."
STAMP="$(date +%Y%m%d-%H%M%S)"
mkdir -p storage/app/backups
mysqldump --single-transaction --no-tablespaces \
-h"${DB_HOST:-127.0.0.1}" -P"${DB_PORT:-3306}" \
-u"${DB_USERNAME}" -p"${DB_PASSWORD}" \
"${DB_DATABASE}" | gzip > "storage/app/backups/city10-${STAMP}.sql.gz"
echo "Backup written to storage/app/backups/city10-${STAMP}.sql.gz"
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
# City10 cloud deploy checklist (run on the server after git pull).
set -euo pipefail
cd "$(dirname "$0")/.."
php artisan migrate --force
php artisan config:cache
php artisan route:cache
php artisan view:cache
echo "Deploy checks complete. Ensure cron: * * * * * php artisan schedule:run"