Jump to content
  • Sign Up

Search the Community

Showing results for tags 'mcgalaxy'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • ClassiCube
    • Announcements
    • ClassiCube Central
    • I Need Help!
    • Tutorials
  • Other
    • General Tomfoolery
    • Vidya Gaems
    • Techno Babble

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



About Me

Found 6 results

  1. Before we start: * Welcome to the MCGalaxy guide. Before reading onward, please do note that this guide is initially made for MCGalaxy version, as such, some of the things stated below may not work in either past versions. If not, tell me and I will update it. * Starting the server Starting the server and actually making it so it's online is the most crucial thing you're going to need to do in this guide. Everything else will be informative and/or optional. To start the server, make sure you download your release from here, keeping in-mind I will be using to explain things. Once downloaded, you will need to extract the contents into a folder somewhere. Once complete, you will then need to run either MCGalaxy.exe or MCGalaxyCLI.exe. This will open up a GUI/CLI menu allowing you to edit the server. Next, you will need to port forward. If your router does not support UPnP portforwarding, you can find a guide on how to port forward here. If it does support UPnP port-forwarding then proceed to read on further. Upon opening the GUI, click the properties button. A menu like this should open (yours will likely be different): Next, you will need to enter a port in the port box (or keep it as 25565) and then click Server Port Utilities. Another GUI menu should pop up, here you will need to enter the previous port number into the box and then click Forward. If the forward was successful, you will receive a green Ports forwarded successfully using UPnP message. If not, then you will need to port forward manually by visiting the link above. Once you've done that, click out of that and press Save to save your progress. VoilĂ ! Your server is ready to play. It should be around the bottom area of the server list, if it isn't try refreshing. Configuring your server Editing server properties is probably the most fun part of starting a server, you have full access to features and you can toggle things you want enabled/disabled on the server. To do this, you need to open up that folder we were talking about earlier and navigate to the /properties folder. In here there will be 8 files that you can edit customize. You can also edit things from the GUI, but this gives you a bit more options to choose from. The only one you really need to check out is server.properties, if you've never edited a .properties file, you can open it in any text editing program. A guide is already waiting for you inside the file. A great way to display information is via the use of text files. You can modify the text files by going to the /text folder. Here you can edit things like the server welcome message, rules, news etc. All files can be opened via text editing software as well. Using the console The console is used as a way of executing commands without having to be in-game. It also bypasses permissions so you can use any command from any rank with ease, though keep in mind, some commands purposely disable use from the console. Using commands is similar to in-game, which uses /[command]. If a / or ! isn't present at the start, it will be treated as a chat message. You should probably give yourself the superop or nobody rank to get full control of the server. See below for more information on assigning ranks. Ranks Ranks are the assortment of players into hierarchical groups. To modify ranks, you will need to open the properties menu and then click on Ranks. Here you will be able to edit permission levels and colours etc. To rank a player to a specific rank, you will need to use /rank [username] [rank]. This will give them access to all the commands and permissions the specified rank has. Commands and Permissions Commands are a great way of doing things in-game, but if everyone has the same permissions, the server could be come anarchic quite fast. One of the commands you will need to become familiar with is /cmdset which is the nobody rank by default. Using your console knowledge from before, typing /cmdset cmdset [rank name] will allow the rank of your choice and above to execute it from in-game. You can either keep the permissions as is (not recommended) or you can modify the permissions to your choosing. You can allow specific ranks to use a command by using /cmdset [command] +[rank name], this will allow the rank to use the command even if they are not above the default command rank. You can also do /cmdset [command] -[rank name] to prevent a specific rank from using the command. And lastly for setting command permissions is /cmdset [command] [rank name] [extra permission number] which will allow the rank specified and above to be able to use the command's extra permission. A full list of commands can be found via /commands all all and each are colour-coded to their respective rank colours. Information can be found for each command using /help [command]. Levels (or worlds/realms/maps) Levels are a world that players can visit/build on. By default the main level will be called main, but you can change that later by doing /main [level]. Most MCGalaxy servers support overseer levels which allow players to have their own private world that only they can build in. To allow this, just set the /overseer command to the lowest rank you want to be able to use the command. This will allow people to use /os map add and /os go as well as other overseer commands. To create a new level that isn't a realm world, you can type /newlvl create [map name] <width> <height> <length> <theme> <seed> (the ones in angled brackets are optional). If you're unhappy with the map size, you can change the size via /resizelvl [map name] [new width] [new height] [new length]. Keeping in mind, that decreasing a level size may remove blocks. Levels can be renamed via /renamelvl [map name] [new map name] and can be deleted via /deletelvl [map name]. Conclusion There you have it, you now know everything you need to about setting up your very own MCGalaxy server. Something not making sense? Still confused about something? I'm usually around the community and am quite happy to help. You can find me on Discord via @Venk#2020 or on ByteIRC via #PuissantRoyale.
  2. * Please note that I did not create this guide, I just thought that since not a whole lot of people check the archived forums, this would be a better place for it. The original guide was created by Empy and can be found here. Full credit goes to them. * Additionally, I'd like to state that you do not have to do this for each custom block you create as it would take an excessively long time. I recommend making use of /gb copy [id] and /gb edit [id] [value] [args] as it is so much quicker and more efficient than following through with the creation process.
  3. I want to try and make a map generator for MCGalaxy. Does anyone know how to?
  4. We all know that there are two ways of creating a overseer map in a mcgalaxy server and it requires one of the the following commands: - It Creates a 128 x 128 x 128 map (corresponds to width x height x length). - Here you can specify the size of the map. If you mess up you can always resize your map: . Moreover, you can specify an optional parameter a map theme. There are 11 "Simple" map themes, 13 "fCraft" map themes and 9 "Advanced" map themes(If requested I will go over them on another tutorial). There are several other commands I will go through: - Sets the physics on your map and the parameter level can be set from 0 to 5 as: 0 - Physics are now off. 1 - Physics are now normal. 2 - Physics are now Advanced(faster physics). 3 - Physics are now Hardcore(even faster). 4 - Physics are now Instant. 5 - Physics are now Doors-only(only doors can be opened). - Deletes your map. - Saves your map by creating a backup of your map (over time a map creates a new backup). - Restores a backup [num] of your map. - Only allows players with the rank [rank] visit your map. - Only allows players with the rank [rank] to build on your map. - Sets terrain.png for your map. - Sets texturepack.zip for your map (Provide the url download link of the texture pack here). Note: check this tutorial to learn more about Classicube texture packs and how to create them(Credit to AndrewPH): https://www.classicube.net/forum/viewpost/dL/ Note: all these commands can be seen on a server that is using MCGalaxy recent version currently with the commands: /os map OR /help map. If you have any more questions about anything ask in the comments. And if I missed something do correct me, Thanks for reading :).
  5. I've started my server and it says "(11:55:37) connected to the server." in the logs. There are no players online. What ip is
  6. This is the absolute most sickest tutorial ever, don't delet, andrew Hi there. You may have tried hosting your own server and you feel as if the server feels a little bit desolate. Surely, you want to spice it up with fun chat commands or helpful building commands! Thankfully, writing your own plugins for MCGalaxy is relatively straight-forward. Note, this tutorial will help you go through the absolute basics of creating an MCGalaxy plugin.. Knowledge of general programming and/or C# is recommended, but not required to follow this tutorial. What are we doing? A super-simple dice-throwing chat command. You can extend this plugin to function as a simple gambling game by making it cost money with possible prize money. You can find the code here. What do we need? You obviously need MCGalaxy to compile and use the plugin. I suggest using a text editor with syntax highlighting capabilities such as Notepad++ or Atom. Starting out MCGalaxy plugins are written in the C# programming language, so we need to create a C# file. It doesn't really matter where you create it, but in order to compile the code you need to place the file into MCGalaxy's /plugins folder, so I'm going to create the file there. My file is called "Dice.cs". Now open the file and start actually writing the plugin. Before we can do anything, we need to include the basic MCGalaxy modules to be able to manipulate the server. using System; using MCGalaxy; using MCGalaxy.Commands; After that, we need to define a namespace our plugin will be a part of. I would suggest putting all of your plugins in a namespace with you server's name. namespace myServer { } Now, inside the aforementioned namespace we need to create a class that specifies info of our plugin for MCGalaxy. public sealed class DiceGame : Plugin { public override string name { get { return "The Dice Game"; } } public override string creator { get { return "myName"; } } public override string MCGalaxy_Version { get { return ""; } } //This part runs when the plugin is loaded public override void Load(bool startup) { Chat.MessageGlobal("&aDice plugin succesfully loaded!"); } //This part runs when the plugin is unloaded //Make sure you unregister any commands //you have registered in Load() public override void Unload(bool shutdown) { Chat.MessageGlobal("&cDice plugin succesfully unloaded!"); } } Our class inherits elements from the Plugin class, since we need to tell MCGalaxy that we are creating a plugin, and the Plugin class has the elements that would be boring (and unproductive!) to rewrite those elements over and over again every time we tried to write a plugin. The elements we specify explicitly have the override specifier. That means the elements were already defined implicitly by the Plugin class, but we need to "override" or redefine them for our own purposes. The first few elements are quite self-descriptive. We define the name of the plugin, the creator, and the MCGalaxy version the plugin was designed for. The latest version of MCGalaxy at the time of writing this tutorial was, so I will just specify that. The next element is the "Load" function. This function is being run whenever we load the plugin. For now we will just output a message to the world that signifies our plugin has been loaded. The same can be said about the "Unload" function. '&a' and '&c' are the symbols to change the colour of the text that comes next. You define the colors with an & symbol and the number of the colour. The colours go from 0 to f. It is worth noting the commands take a bool value that specifies whether the functions were run on server startup or shutdown, respectively. Since we are creating a chat command, we now need to create a class to tell MCGalaxy we are creating a new command. This is done similarly to the plugin definition, as we are now inheriting from the Command class. public class CmdDice : Command { //You use this name to actually run the command //So in this case we make the command be activated with /dice public override string name { get { return "dice"; }} public override string shortcut { get { return "roll"; }} public override string type { get { return "fun"; }} public override LevelPermission defaultRank { get { return LevelPermission.Guest; }} public override void Use(Player commandUser, string args) { } public override void Help(Player commandUser) { Player.Message(commandUser, "%T/dice"); Player.Message(commandUser, "%HRoll dice."); } } Besides specifying the name of the command, we can (but don't have to) specify a shortcut to be used for the command. Curiously, the shortcut can be longer than the name. The 'type' variable defines the category our command will show up in when a player uses the /cmds command in-game. The next variable defines what ranks can use the command by default. The 'Use()' is the actual function that is being run when a user uses our command. The function must have 2 arguments. The first one is the player that uses the command and the the second is the text the player enters after the command (command arguments). The 'Help()' function is the function that is being run when the user enters "/help <commandName>" into in-game chat. In this function we send the Player that is being specified a message with the 'Message()' command. '%T' and '%H' are similar to the colour symbols we used earlier, however, the colours that those symbols will turn the text into depend on the server. '%T' is the symbol for the chat titles and '%H' is the symbol for a default help string. It is advised to message command help in this way. Now we need to make our 'Use()' command actually do something. Since we create a dice simulator, we need some way to create random numbers. In C#, you do that with a Random object. public override void Use(Player commandUser, string args) { //Create a randomizator object Random random = new Random(); Now every time we need to create a random number, we call the 'Next()' method of the Random class. Since dice have sides with 1 to 6 dots, we generate a random number from 1 to 6 for each dice. //Create a variable called 'dice1' //And assign it a random random from 1 to 6 int dice1 = random.Next(1, 6); //Same for the second dice int dice2 = random.Next(1, 6); //Create a variable that's the sum of the both dice to calculate total points int score = dice1 + dice2; Now, we want to message the score of the user into the world chat (you can also message the score to the user only using the 'Player.Message()' method from before. public override void Use(Player commandUser, string args) { //Create a randomizator object Random random = new Random(); //Create a variable called 'dice1' //And assign it a random random from 1 to 6 int dice1 = random.Next(1, 6); //Same for the second dice int dice2 = random.Next(1, 6); //Create a variable that's the sum of the both dice to calculate total points int score = dice1 + dice2; Chat.MessageGlobal(commandUser.name + " &fhas rolled &a" + dice1 + "&f and &a" + dice2 + "&f in Dice!"); Chat.MessageGlobal("&fThat's &a" + score + "&f points!"); } We are not done yet. In the plugin's 'Load()' and 'Unload()' we need to register (and unregister) the command we have just created. //This part runs when the plugin is loaded public override void Load(bool startup) { Command.Register(new CmdDice()); Chat.MessageGlobal("The Dice Game plugin loaded!"); } //This part runs when the plugin is unloaded //Make sure you unregister any commands //you have registered in Load() public override void Unload(bool shutdown) { Command.Unregister(Command.Find("dice")); Chat.MessageGlobal("The Dice Game plugin unloaded!"); } Note how we register the new command with the class constructor of the class we created, however, we unregister it by the command name we specified inside the class. Compilation Assuming your code is in the '/plugins' folder, you now need to start MCGalaxy. I'm going to run it via MCGalaxyCLI.exe, however you can use MCGalaxy.exe as well. Now we compile the plugin with "/pcompile Dice". If everything is alright, the plugin should be compiled and .dll file should be created. Now we can load the plugin with "/pload Dice". This is it. Your plugin should be working now, and you can test it with "/dice" or "/roll" in-game! If it's not working, be sure to check for any typos. If you can't find the problem, you can check out the code or ask me in this thread. Notes: Since this only a command plugin, we could have instead only compile the command and not specify the plugin by placing the code in the '/extra/commands' folder and using '/compile' and '/load' commands for compilation and loading instead.
  • Create New...