aiptu / smaccer
A PocketMine-MP plugin NPCs
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 11
Watchers: 1
Forks: 4
Open Issues: 3
Type:project
Requires
- aiptu/libplaceholder: ^1.0
- frago9876543210/forms: dev-master
- ifera-mc/update-notifier: dev-master
- jasonw4331/libpmquery: dev-master
- paroxity/commando: ^3.2
- pocketmine/pocketmine-mp: ^5.16
This package is auto-updated.
Last update: 2024-10-31 16:15:37 UTC
README
Smaccer is a powerful and easy-to-use PocketMine-MP plugin designed for managing NPCs (Non-Player Characters) in your Minecraft world. Whether you want to create interactive characters, organize your NPCs, or automate tasks, Smaccer provides all the necessary tools to bring your world to life.
Features
- Create NPCs: Easily create new NPCs to populate your world.
- Edit NPCs: Modify existing NPCs to update their appearance, behavior, or properties.
- Delete NPCs: Remove unwanted NPCs from your world with simple commands.
- Move NPCs: Effortlessly move NPCs to different locations or players.
- List NPCs: View a comprehensive list of all NPCs in your world.
- Teleport: Quickly teleport to NPCs or move other players to NPCs.
- Customizable Configuration: Tailor the plugin's settings to fit your needs without restarting the server.
- Manage Permissions: Fine-tune permissions to control who can interact with and manage NPCs.
- Server Queries: Check the status of remote servers, including player counts and server uptime.
- World Queries: Monitor player counts and world statuses across multiple worlds.
- Customizable Messages: Define and customize the display messages for server and world queries through configuration files.
- Asynchronous Tasks: Perform server queries asynchronously to avoid blocking the main server thread.
Commands
/smaccer about
: Displays information about the plugin./smaccer create
: Creates a new NPC entity./smaccer delete
: Deletes an NPC entity./smaccer edit
: Edits an NPC entity./smaccer id
: Retrieves the ID of an NPC entity./smaccer list
: Lists all NPC entities in the world./smaccer move
: Moves an NPC entity to a specified player or location./smaccer reload
: Reloads the plugin configuration or emotes./smaccer teleport
: Teleports a player to an NPC entity or vice versa.
Permissions
Grant these permissions to specific player groups or individuals using a permissions management plugin of your choice.
Configuration
Smaccer offers a customizable configuration to tailor the NPC settings to your preferences. Below is an example of the configuration file:
# Smaccer Configuration # Do not change this (Only for internal use)! config-version: 1.2 # Enable or disable the auto update checker notifier. update_notifier: true # World Query Message Formats # Customize how world information is displayed in the nametag. # When all specified worlds are loaded. # Placeholders: # - {world_names}: Comma-separated list of loaded world names. # - {count}: Total player count across loaded worlds. world_message_format: "§aWorlds: §b{world_names} §a| Players: §e{count}" # When some or all specified worlds are not loaded. # Placeholders: # - {world_names}: Comma-separated list of loaded world names. # - {not_loaded_worlds}: Comma-separated list of worlds not loaded. # - {count}: Total player count across loaded worlds. world_not_loaded_format: "§cWorlds: §b{world_names} §c| Not Loaded: §7{not_loaded_worlds} §c| Players: §e{count}" # Server Query Message Formats # Customize how server information is displayed in the nametag. # When the server is online. # Placeholders: # - {online}: Current number of players online. # - {max_online}: Maximum number of players allowed online. server_online_format: "§aServer: §b{online}§a/§b{max_online} §aonline" # When the server is offline. server_offline_format: "§cServer: Offline" # Default settings for NPCs. npc-default-settings: # Cooldown settings for NPC commands. # - enabled: Whether command cooldown is enabled or not. # - value: Cooldown duration in seconds. commandCooldown: enabled: true value: 3 # Rotation settings for NPC behavior. # - enabled: Whether rotation is enabled or not. # - maxDistance: Maximum distance for NPC rotation. rotation: enabled: true maxDistance: 8 # Nametag visibility settings for NPCs. # - enabled: Whether nametag visibility is enabled or not. nametagVisible: enabled: true # Default entity visibility settings. # - value: Integer representing visibility level. # 0: Visible to everyone. # 1: Visible only to the creator. # 2: Invisible to everyone. entityVisibility: value: 0 # Slap settings for NPCs. # - enabled: Whether slap-back action is enabled or not. # Note: Set to true if slap action is intended for human NPCs. slapBack: enabled: true # Cooldown settings for NPC emotes. # - enabled: Whether emote cooldown is enabled or not. # - value: Cooldown duration in seconds. # Note: Emotes are non-interactive gestures or expressions performed by NPCs. emoteCooldown: enabled: true value: 5 # Cooldown settings for NPC action emotes. # - enabled: Whether action emote cooldown is enabled or not. # - value: Cooldown duration in seconds. # Note: Action emotes are interactive gestures or expressions that trigger specific actions when performed by NPCs. actionEmoteCooldown: enabled: true value: 5 # Gravity settings for NPCs. # - enabled: Whether gravity is enabled or not. gravity: enabled: true
Images
Upcoming Features
- Currently none planned. You can contribute or suggest for new features.
Credits
- Bedrock-Emotes by TwistedAsylumMC for providing the emotes.
- CPlot by ColinHDev for implementing promises.