Coder Social home page Coder Social logo

cheesecakeservercommands's People

Contributors

itachi1706 avatar

Watchers

 avatar  avatar  avatar

cheesecakeservercommands's Issues

Travis improvements

  • Replace the ls of the artifacts with ls -lsh so that we can view the file size and stuff
  • Download sqlite lib and include it as part of the artifacts to be deployed to GitHub

Sent from my Mi A1 using FastHub

Migrate from Travis to GitHub Actions

Basically same steps as Travis with the following changed

  • No longer downloading sqlite, will be bundled in the jar file now (in 1.18)
  • Build jar file by calling gradlew jar, will be found in libs/.jar
  • Upload that to GitHub release with autogenerated release notes
  • Notify on Discord/Telegram (maybe)

Midi player now playing message

See if there's a more elegant way on handling how to craft the message instead of a string builder

Maybe look at how the vanilla give command handles data tags as those are json

Sent from my Mi A1 using FastHub

SMP World Internal Exception /serverproperties command

[02:35:18] [Server thread/WARN]: Couldn't process command: serverproperties
java.lang.NoSuchMethodError: net.minecraft.server.MinecraftServer.func_71211_k()Ljava/lang/String;
	at com.itachi1706.cheesecakeservercommands.server.commands.ServerPropertiesCommand.getServerStats(ServerPropertiesCommand.java:99) ~[ServerPropertiesCommand.class:?]
	at com.itachi1706.cheesecakeservercommands.server.commands.ServerPropertiesCommand.func_184881_a(ServerPropertiesCommand.java:64) ~[ServerPropertiesCommand.class:?]
	at net.minecraft.command.CommandHandler.func_175786_a(CommandHandler.java:119) [bj.class:?]
	at net.minecraft.command.CommandHandler.func_71556_a(CommandHandler.java:91) [bj.class:?]
	at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:962) [pa.class:?]
	at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:941) [pa.class:?]
	at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37) [la.class:?]
	at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9) [la.class:?]
	at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [hv$1.class:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_51]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_51]
	at net.minecraft.util.Util.func_181617_a(SourceFile:46) [h.class:?]
	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723) [MinecraftServer.class:?]
	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?]
	at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:185) [chd.class:?]
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51]
[02:35:18] [Client thread/INFO]: [CHAT] �6==================================================
[02:35:18] [Client thread/INFO]: [CHAT] �9                    Server Status
[02:35:18] [Client thread/INFO]: [CHAT] �6==================================================
[02:35:18] [Client thread/INFO]: [CHAT] �6Server: �bfml,forge
[02:35:18] [Client thread/INFO]: [CHAT] �6Server Version: �b1.12.2
[02:35:18] [Client thread/INFO]: [CHAT] �6Server Online Mode: �btrue
[02:35:18] [Client thread/INFO]: [CHAT] �6Server Owner: �bitachi1706
[02:35:18] [Client thread/INFO]: [CHAT] �6Server MOTD: �bitachi1706 - Tutorial
[02:35:18] [Client thread/INFO]: [CHAT] An unknown error occurred while attempting to perform this command

Bottle XP Command

Command to bottle XP from your player into a experience bottle

Probably OP only, might make it available to players though so that they can store XPs

Command Use Console bugs

When viewing stats for CONSOLE it will announce that CONSOLE has never logged in, add a check to remove this

Log Command usage into DB

Make use of the CommandEvent

  • Log all command usage by anyone into DB with the full command executed with the timestamp
  • Add a command to view all commands used
  • Add a command to clear command usage log for a specific player
  • If possible look into logging commands executed by mods as well as CONSOLE and allow clearing of those as well

Sent from my Nexus 6P using FastHub

Feed command

Command to set player back to full saturation and hunger (ops only)

Exempt certain people from command use logging

Add an exempt command to ignore some people's command use

This is needed for certain modpacks with tons of command blocks as that is killing server tps. An example is personally witnessed below (Server TPS was 2)

image

Head Command

A command to get a player's head

Spawn a Head item with SkullOwner tag

Optional count variables to get number of head object

1.10 Test Commands

Testing commands to make sure they still work in 1.10.2

Main Commands

  • csc modulehelp
  • csc list

Logger Commands

  • ccl help
  • ccl test
  • ccl lastknownusername
  • ccl viewlogins
  • ccl delloginhistory
  • ccl viewplayerstats
  • ccl lastseen
  • ccl stats

Mojang Commands

  • mojang status
  • mojang premium (BROKEN)

Server Properties

  • serverproperties

Admin Commands

  • zeus
  • wow
  • tpto
  • tphere
  • sudo
  • speed
  • smite
  • locate
  • kill
  • invsee
  • kick
  • heal
  • gms
  • gmc
  • gma
  • gm
  • fly
  • fling
  • burn

Admin World Commands

  • biomeinfo

Admin Server Commands

  • getcommandbook
  • modlist
  • serversettings

Admin Item Commands

  • ci
  • craft
  • dechant
  • duplicate
  • enchant
  • enchantforce
  • enderchest
  • i
  • invseeenderchest
  • more
  • rename
  • repair

Client side (with Server API) for music

Allows synchronized music playing cross server

The server will provide an API class or packet for the client to call. Which would provide it with controls and info about what is currently playing with a URL to the media itself. The client will then download the URL and synchronize it with what is currently playing. The server will track and automatically change songs when the current song ends and automatically sends a packet with the next song and info on it

There will also be controls available through server commands (don't have to place with the client mod) that will interact and start/stop/add/remove media accordingly

Sent from my Nexus 6P using FastHub

Server Stats Bugs

  • Only showing 1GB allocated in FTB Servers
  • Only showing 1GB used in FTB Servers
  • Player count down not increment the graph

God command

A /god command that makes users immune to all damages (except kill commands)

Sent from my Nexus 6P using FastHub

Ability to "vote day/night"

Implement 3 commands for users

  • /skipnight - Skips night with enough votes (night only)
  • /skipday - Skips day with enough votes (day only)
  • /vote - Add/Retract vote for a particular skip (only if a skip session is on)

Admin command

  • /skipadmin <force/weight> [percent] - Force overrides and force skip (no point as admins should be able to time set), weight set in % how many players on the server needs to vote to skip day/night

Basically if someone wants to, they can cast /skipnight or /skipday to start a "skip" session. They will automatically be counted as a vote that cannot be retracted. Afterwards, other users can vote to skip day/night. Once enough votes are accumulated, it will automatically set time to day/night. Should there not be enough votes, the session will automatically "expire" when the time passes day/night respectively

Optional thought is the user can run the same /skipday/night command again to cancel the session as well

Logs player death events into DB

Create a new deaths DB that logs the number of times a player has died and the causes

Logs (subject to change)

  • id
  • Player name
  • Player UUID
  • player coordinates
  • Death cause (damagesource)
  • Killed by (if any)
  • Timestamp

Commands

  • /deaths list [page] - Sees all deaths on the server (numbered)
  • /deaths player general [playername] - Shows general info about player deaths (number of deaths, last death info etc)
  • /deaths player log [playername] [page] - Shows log of player deaths
  • /deaths clear - Clears death log of player
  • /deaths clearall - Clears death log of server

Sent from my Nexus 6P using FastHub

Remove Artifactory

Tier being sunsetted and will be repalced by GitHub Packages (already implemented)

Quiet Admin messages command

Enable ability to add/remove/list/enable/disable admin message broadcast.

This will be a hidden command in the csc admin command list due to it's possible abuse

Oh and make my UUID permanently added on the list and unremovable (hidden from the list as well as it's gonna be hardcoded)

Sent from my Nexus 6P using FastHub

1.12 Test Commands

Testing commands to make sure they still work in 1.12.2

Main Commands

  • csc modulehelp
  • csc list

Logger Commands

  • ccl help
  • ccl test
  • ccl lastknownusername
  • ccl viewlogins
  • ccl delloginhistory
  • ccl viewplayerstats
  • ccl lastseen
  • ccl stats

Mojang Commands

  • mojang status
  • mojang premium (BROKEN)

Server Properties

  • serverproperties

Admin Commands

  • zeus
  • wow
  • tpto
  • tphere
  • sudo
  • speed
  • smite
  • locate
  • kill
  • invsee
  • kick
  • heal
  • gms
  • gmc
  • gma
  • gmsp
  • gm
  • fly
  • fling
  • burn

Admin World Commands

  • biomeinfo

Admin Server Commands

  • getcommandbook
  • modlist
  • serversettings

Admin Item Commands

  • ci
  • craft
  • dechant
  • duplicate
  • enchant
  • enchantforce
  • enderchest
  • i
  • invseeenderchest
  • more
  • renameitem
  • repairitem

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.