ModsJava
ComFile - Command Files
Java mod listed for Minecraft 1.12–1.14. Downloads from the MC Java Mods app on Android.
⬇ Download on SpigotCreate your own Custom Command with a simple .yml file.
Upon first loading, this plugin creates a folder called "commands" inside the plugins/ComFile/ folder. To create your first command, create a file inside the commands folder with the command name as the name of the file, with a .yml extension, like welcome.yml to create a /welcome command.
Then open your file and add one or more of the configuration options listed below, also listed inside the plugin's main config. These options will translate Bukkit Color Codes and use two placeholders %player% and %target%.
%player% will not work if the command is sent from the console.
%target% will not work if no player name is entered after the command.
Once you've added all the options to your commands, Restart the server or type "/comfile load" (requires "comfile.admin" perm) followed by the command name (works in console without the '/'). Then, your commands are ready for use!
Command Examples
This plugin is free but why not donate a buck or two? It will help me add new features and keep me from eating garbage... maybe.
Upon first loading, this plugin creates a folder called "commands" inside the plugins/ComFile/ folder. To create your first command, create a file inside the commands folder with the command name as the name of the file, with a .yml extension, like welcome.yml to create a /welcome command.
Then open your file and add one or more of the configuration options listed below, also listed inside the plugin's main config. These options will translate Bukkit Color Codes and use two placeholders %player% and %target%.
%player% will not work if the command is sent from the console.
%target% will not work if no player name is entered after the command.
Code (Text):
# Aliases:
# - "list"
# - "aliases"
# - "here"
#
# Permission: "add.perm.to.use.command.here" (If no perm is added anyone can use the command)
#
# Cooldown: in seconds, no "quotes" needed
#
# playerMessage:
# - "Send as many"
# - "lines as you want"
#
# targetMessage:
# - "Requires a player name"
# - "be typed after the command in game"
#
# asConsole:
# - "issue other commands as the console"
# - "use the placeholders to add players as"
# - "variables in these commands"
#
# asPlayer:
# - "run commands as the player"
# - "this will use the players permissions"
# - "make aliases or run multiple commands at once"
#
# asTarget:
# - "run a command as the target player"
# - "requires a player name be typed after the command in game"
# - "great for trolling or forcing players to spawn/warps"
#
# permMessage:
# - "Send this to players who have a permission"
# - "Useful for groups or selecting all players"
# Permission: "set.that.perm.here"
#
# allMessage:
# - "Send this to all online players"
# - "Make your own broadcast messages"
# - "list"
# - "aliases"
# - "here"
#
# Permission: "add.perm.to.use.command.here" (If no perm is added anyone can use the command)
#
# Cooldown: in seconds, no "quotes" needed
#
# playerMessage:
# - "Send as many"
# - "lines as you want"
#
# targetMessage:
# - "Requires a player name"
# - "be typed after the command in game"
#
# asConsole:
# - "issue other commands as the console"
# - "use the placeholders to add players as"
# - "variables in these commands"
#
# asPlayer:
# - "run commands as the player"
# - "this will use the players permissions"
# - "make aliases or run multiple commands at once"
#
# asTarget:
# - "run a command as the target player"
# - "requires a player name be typed after the command in game"
# - "great for trolling or forcing players to spawn/warps"
#
# permMessage:
# - "Send this to players who have a permission"
# - "Useful for groups or selecting all players"
# Permission: "set.that.perm.here"
#
# allMessage:
# - "Send this to all online players"
# - "Make your own broadcast messages"
Command Examples
Spoiler: warn.yml
Permission: "staff.warn"
playerMessage:
- "&4You have warned %target%"
targetMessage:
- "&4[Staff] You have been warned"
playerMessage:
- "&4You have warned %target%"
targetMessage:
- "&4[Staff] You have been warned"
Spoiler: welcome.yml
playerMessage:
- "&AWelcome to the server &C%player%"
- "&AUse the compass to Navigate Servers"
Cooldown: 3
- "&AWelcome to the server &C%player%"
- "&AUse the compass to Navigate Servers"
Cooldown: 3
Spoiler: helpnew
Permission: "helper.helpnew"
Cooldown: 30
asTarget:
- "welcome"
playerMessage:
- "&3You helped &C%target% &3and ran the /welcome command for them"
asConsole:
- "staffchat &D%player% ran the /helpnew command on %target%
Cooldown: 30
asTarget:
- "welcome"
playerMessage:
- "&3You helped &C%target% &3and ran the /welcome command for them"
asConsole:
- "staffchat &D%player% ran the /helpnew command on %target%
This plugin is free but why not donate a buck or two? It will help me add new features and keep me from eating garbage... maybe.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.12, 1.13, 1.14
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
ComFile - Command Files is a free Minecraft Java mod. Compatible with Minecraft 1.12, 1.13, 1.14. Downloaded 385 times (via Spigot). Download it and open it directly in the game.