no citizen plugin needed ok the npcs are made by the plugin it self
๐
1 file
1,435 chars
๐
pasted-code-1775118463649.txt
txt
45 lines
โถ
pasted-code-1775118463649.txt
txt
45 lines
The plugin should simulate real players (bots) that appear like actual players in the server.
๐น Core Features:
- Spawn fake players with command: /fakeplayer add
- Remove fake players: /fakeplayer remove
- List all fake players: /fakeplayer list
- Fake players should appear in TAB list and player count
- Fake players should have random skins (or optional custom skin support)
๐น Behavior System:
- Fake players can:
- Walk randomly around spawn
- Jump occasionally
- Look around (head movement)
๐น Advanced Features:
- Config file (config.yml) with:
- Max fake players
- Movement toggle
- Ability to spawn fake players manually only (no auto spawn)
- PlaceholderAPI support:
- %fakeplayers_count%
- Support for permissions:
- fakeplayers.admin
๐น Performance:
- Must be lightweight and optimized
- No unnecessary background tasks
- No TPS lag even with 50+ fake players
๐น Technical Requirements:
- Written in Java
- Use Paper API
- Proper package structure
- Use schedulers only for movement behavior
- Clean, modular code (separate classes for manager, behavior, commands)
๐น Extra (Optional):
- INVENTORY GUI menu (/fakeplayer INVENTORY GUI)
- Save fake players data to file
- Support for multiple worlds
Important:
Fake players should only exist when manually spawned.
They should behave visually like real players but remain simple and lightweight.
Kodari can make mistakes. Review important code before using.
Files
No files in this session
Code