A Minecraft Plugin created for YouTubers such as BajanCandian, Skeppy, BadBoyHalo, A6D
The YouTubers spawn in a small world with the option to apply multiple different senerarios
Join the Discord (Note: You must be 13 years of age or older to use Discord)
/r/MinecratBut (yes we know it's misspelt)
Join my server play.minecraftbut.net
where you can play arcade games with friends and play MinecraftBut, as well as regularly hosted events.
Download the latest version of the plugin
It'll also be nice if you starred the project <3 (It pretty much means 'like' & it's free)
Mainly we support 1.8.x & 1.14.x servers. Other versions are untested and support will generally not be provided when using other versions. I recommend TacoSpigot or PaperSpigot, but as a bare minimum I recommend you use Spigot over Bukkit or CraftBukkit.
We use yourkit for performance tuning of this project
YourKit supports open source projects with innovative and intelligent tools for monitoring and profiling Java and .NET applications. YourKit is the creator of YourKit Java Profiler, YourKit .NET Profiler, YourKit YouMonitor
Personally I would strongly recommend them if you're a developer :D
Command to view all credits and their YouTube channels:
/mb credit
minecraftbut.command.minecraftbut
We only have one permission node for the root command
/MinecraftBut
/mb
Opens the GUI to enable and disable Senerarios
/MinecraftBut help
/mb help
Help command
/MinecraftBut Senerario <senerarioId> help
/mb s <senerarioId> help
Learn ways that you can configure a Senerario
/MinecraftBut Senerario <senerarioId> <Args>
/mb s <senerarioId> <Args>
Configure a Senerario
Note: senerarioId can be found in the lore of the item in the menu
/MinecraftBut changeworld <WorldName>
/mb cw <Name>
Change the world that the plugin is running on, use case is just for Multiverse support
Note: I will not support the plugin running on multiple worlds at once, as it's out of the scope of common need of the YouTubers, however I think it works in the Nether and The End.
Feature Requests Or request a feature on the Discord server
git clone git@github.com:HeathLoganCampbell/MinecraftBut.git
A folder called "MinecraftBut" is now created, so from now on you can cd to this folder and type
git pull
to download changes made
Simply extend Senerario, like so:
public class DummyExample extends Senerario {
//This allows players to edit the field through the command
//'/mb s DummyExample someNumberToEdit 1' which sets the value to 1
@Optional
private int someNumberToEdit = 5;
public DummyExample(ButWorld butWorld) {
super("Dummy Name", butWorld, XMaterial.ANVIL.parseMaterial(), new String[] {
"This is a description of the senerario"
});
}
//called when Senerario is enabled
@Override
public void onStart() {
//If you have a repeating task, I guess using repeat(runnable, ticks)
//which auto cancels on disabl
this.repeat(() -> {}, 20l * 1);
}
//called when Senerario is disalbed
@Override
public void onFinish() {
}
//Registers when the Senerario is enabled
@EventHandler
public void onPlayerMove(PlayerMoveEvent e) {
Player player = e.getPlayer();
player.sendMessage("Hey " + someNumberToEdit);
}
}
Then simply go to the games.bevs.minecraftbut.MinecraftButPlugin class
// and add the following line in games.bevs.minecraftbut.MinecraftButPlugin
private void populateScenerarios(ButWorld butWorld)
{
...
this.scenerarioManager.registerSenerario(new DummyExample(butWorld));
}
You can find more examples within games.bevs.minecraftbut.senerario.senerarios
If you modify this plugin in any positive way please consider submitting your changes as a pull request. After all, this is open-source. If you find a bug please submit an issue describing the bug.
I don't expect anyone to really donate, but I have put time into this plugin so it would be dope if I made something back from it. Baked with love by Sprock (Heath)