sample-data
Generator of sample data - generate fake accounts, players & online players, maybe in future something more.
Commands included
- sample-data:accounts - accounts generator
- sample-data:players - players generator
- sample-data:random-online - online players randomizer
Usage
cd /var/www/html # or any other folder where myaac located is
sample-data:accounts
Generate 10 accounts with default password, which is: pass1234
php aac sample-data:accounts 10
Generate 5 accounts with custom password:
php aac sample-data:accounts --password="asdasd" 5
sample-data:players
Generate 500 players with default settings:
php aac sample-data:players 500
Generate 100 players with 1000 level:
php aac sample-data:players --level=1000 500
sample-data:random-online
Add 100 random online players
php aac sample-data:random-online 100
Other options
sample-data:accounts
- --password=x (password to use)
- --country=x (country code)
- example: --country=pl (will be set for all accounts)
- leaving it empty, will generate random country for every account
sample-data:players
- --file=path/to/file.txt (list of names to use, one name per line)
- --account=x (account id)
- --account-from=x (first account id to use)
- --account-to=x (Last account id to use)
- --level=x
- --vocation=x (id of vocation, from 0 to 10 (with monk))
- --town=x (id of town)
- --look-type=x (id of outfit/lookType)
- --look-colors=x (color of whole outfit (simplified), number from 0 to 132)
- --look-addons=x (0, 1 or 2)
- --look-head=x (color of head - number from 0 to 132)
- --look-body=x (color of body, same as above)
- --look-legs=x (color of legs, same as above)
- --look-feet=x (color of feet, same as above)
Changelog sample-data
v1.1 - 2025-11-04
- Created this changelog
- Added "name" into composer.json, to prevent duplicated class name
- Accounts generator: show first and last id generated
- Players generator:
- New option: import names from file, with one name per line
- New options: account-from & account-to (first and last account ids to use, will be randomized)
- New option to specify exact look colors: --look-head=x, -look-body=x, --look-legs=x, --look-feet=x
- Added created timestamp to prevent showing "Created: 1970" in characters page
v1.0 - 2025-08-02
Plugin don't have license file. If you are the author, you can add LICENSE file into your .zip file.
|
Version
|
Upload Date
|
Size
|
MyAAC required
|
PHP
|
Download
|
|
1.0
|
02.08.2025
|
3.43 MB
|
1.8 and higher
|
8.1 and higher
|
Download
|