Jump to content
  • Sign Up

Goodly

Moderator
  • Content Count

    452
  • Joined

  • Last visited

  • Days Won

    130

Everything posted by Goodly

  1. First, you can use the source code for reference. Here is the PlayerAwards class: https://github.com/ClassiCube/MCGalaxy/blob/master/MCGalaxy/Modules/Awards/PlayerAwards.cs To use anything from the PlayerAwards class, you will have to add "using MCGalaxy.Modules.Awards;" at the top of your code file. Any method or field that is marked as "public" can be used by plugins and commands. You can use "PlayerAwards.Give" to give an award to a player, but this won't show a global chat message. If you want to show a global chat message, you should have console use the award give command. You can do that like this: const string myAward = "My Secret Award"; Command.Find("award").Use(Player.Console, "give "+p.name+" "+myAward); If you want to check if the player has the award already, you will have to get the list of awards for the player and then check if that list has the award inside of it. You can do that like this: bool hasAwardAlready = false; List<string> currentAwards = PlayerAwards.Get(p.name); if (currentAwards.CaselessContains(myAward)) { hasAwardAlready = true; } As a side note, you can shorten the above code like this: bool hasAwardAlready = PlayerAwards.Get(p.name).CaselessContains(myAward); Here is an example of everything so far put together. Remember you still need "using MCGalaxy.Modules.Awards;" at the top of the file. public override void Use(Player p, string message) { const string myAward = "My Secret Award"; bool hasAwardAlready = PlayerAwards.Get(p.name).CaselessContains(myAward); if (hasAwardAlready) { p.Message("You already found the secret!"); return; // When we write return, that will quit running the command so that the code below doesn't run } //Give the player the award if they haven't already gotten it Command.Find("award").Use(Player.Console, "give "+p.name+" "+myAward); }
  2. Goodly

    na2 ddos

    It stands for distributed denial of service. What this means is that someone uses a bunch of different computers (thousands) to connect to the server and overwhelm it so that it stops working
  3. Before you sign into the launcher, go to "Options" then "Mode", then click "Enhanced". After that, make sure all of these options are ON in Options -> Nostalgia Options escape menu.
  4. The forums are not for ban appeals
  5. Servers can send custom models so no client modification needed there. My main concern with attempting to develop any kind of fps mechanics is that the delay based netcode of classicube makes it kind of unsatisfying and difficult to play. At least for any sort of hitscan-type weapons. No custom sounds or camera feedback(shake, first person fire anim, etc) will also leave the gamefeel lacking. Oh yeah, alecdent mentioned this as well. Definitely doable if someone has the motivation to add it
  6. In general anything that requires the client itself to be modified for a new feature is probably not going to happen. The rest of what you've mentioned is doable if a developer is interested in it, but that's all server side stuff so it doesn't really have anything to do with AndrewPH or the core classicube dev 'team' (UnknownShadow200). Nothing relating to survival will ever officially be added to ClassiCube for brand reasons What is CS rotate?
  7. /map motd -hax There are other arguments you can add and you can do multiple in the same MOTD. Like /map motd -hax +respawn Look at /help map motd to see every argument.
  8. Please take a look. https://github.com/ClassiCube/MCGalaxy/wiki/Level-permissions
  9. Why don't you ai-generate some updates for the game
  10. That's part of it, but I do actually like going around to active servers when I'm bored to check out what's happening and get genuinely disappointed when it turns out to be fake "activity". That's also why I had joined earlier like you noted If it's not botting to intentionally connect with fake accounts to add more players, I don't know what is. Also keep in mind that MCGalaxy normally counts players based on unique IPs connected, so mike had to go even further out of his way to connect with proxies to get around this. He knew what he was doing.
  11. It's because multiple accounts that sit idle in the server don't actually exist as ClassiCube accounts. Not using ClassiCube accounts is not necessarily a problem on its own, but when the owner also intentionally disables afk kick to allow people to idle for hours on end, it sure looks like they're trying to dishonestly boost player count. Snoozer probably said those things because I've complained in the past about multiple servers including mike's on this topic. I think it's pathetic to fake player count instead of making your server more desirable to visit to gain attention authentically
  12. "I thought most people in ClassiCube rather play Minecraft over ClassiCube." Probably true for the younger players here who just want free Minecraft. "So, everyone that plays ClassiCube technically plays Minecraft" Actually people that play ClassiCube are playing ClassiCube
  13. You can only freely change your picture if your account is 5 years or older. However can always change the head that appears in your avatar by changing your ClassiCube account skin.
  14. Yeah, the "extra/text" folder location is confusing. It should probably be inside of the text folder and be called "viewable" or something.
  15. For simple commands that just display text, you can do this without any special code. 1. add a text file in "extra/text" folder such as discord.txt 2. add the discord link in discord.txt 3. go to text/aliases.txt and add "discord:view discord" on a new line. 4. restart the server or use /server reload Now when a user writes /discord, it will call /view discord and display the contents of the file.
  16. I would suggest joining Not Awesome 2, creating a realm (/os map add) (/os go) and then using /shapeblocks to punch a block into the shape you want. Then use (/os lb info [id]) to see the min and max coords of it.
  17. Do not install any plugins written by goldberg. They are known to install malicious plugins that give them backdoor permissions to mess up the server. Goldberg is also known as PurpleDragon and JustinDupa
  18. Try uninstalling "KickRussians" plugin
  19. Check MapHack custom command here. It may do what you want, but if not its code serves as an example of how to edit the MOTD for a specific player. https://github.com/ClassiCube/MCGalaxy-Plugins?tab=readme-ov-file#commands-list Alternatively, you can edit the MOTD for any given map using /map motd [args] or /os map motd [args]
  20. ClassiCube was written in C using visual studio
  21. https://github.com/ClassiCube/MCGalaxy-Plugins/blob/master/CmdPruneDB.cs /PruneDB [player1] <player2..> <timespan> Deletes the block changes of [players] in the past <timespan> from BlockDB. Slow and dangerous. Use with care.
  22. This does not get your account deleted. It just gets disabled so you can't use it anymore.
  23. Not Awesome 2 is holding a 32x32 Secret Santa build exchange! How it works To spread Christmas and holiday cheer, we will be building gifts for each other! The twist is that we do not know who we are building for until the event ends on the 24th* of December. You will be given your gift-partner's interests as a theme for the gift you're building. A special reward Entrants who finish building their gifts will be rewarded with a unique snowflake `/flair` and a unique snowflake `/aura`! Please note that building a very low-effort gift may exclude you from this reward. How to enter and more You have until the 8th* of December to enter. After this, entries will be closed. We've put Percy the Elf in charge of handling entry. You can find Percy next to the spawn in `mainclaus`, which is the current hub world. To enter, talk to Percy. Percy knows what date it is, so you can return to him to check up on the status of the event. *all dates are based on California time (PST).
  24. Noop ID already exists, it's block 0 (air). What would be the purpose of adding another one?
  25. There is a guide you can find here: https://www.classicube.net/forum/viewpost/b_a/
×
×
  • Create New...