Commando’s

Commando’s zijn een manier waarop server operatoren hun server kunnen beheren en waarop spelers kunnen interageren met de server.

In Sponge volgen commando’s een systeem van permissies. Permissies laten server operatoren toe om te bepalen wie welke commando’s kan gebruiken. Standaard krijgen spelers met de OP status toegang tot alle commando’s. Spelers zonder operator status hebben geen toegang tot administratieve commando’s of commando’s die een bepaalde permissie vereisen. Een server operator kan bepalen wie toegang heeft tot welk commando door permissies toe te voegen of te verwijderen met behulp van een permissies plugin.

Notitie

Sponge is geen permissie-beheer plugin. Om permissies toe te voegen en te verwijderen voor individuele spelers of groepen moet je een permissie-beheer plugin zoeken.

Operator Commando’s

Deze commando’s, als toevoeging op de standaard spelercommando’s, zijn beschikbaar voor server operatoren.

Sponge

De volgende commando’s zijn beschikbaar voor spelers met de operator status (of de correcte permissie knoop) op servers gebruik makend van Sponge.

Commando

Omschrijving

Permissie

/sponge audit

Forces loading of unloaded classes to enable mixin debugging.

sponge.command.audit

/sponge chunks

Print de chunk gegevens voor een wereld, een dimensie of globaal.

sponge.command.chunks

/sponge config

Past de globale configuratie aan of de configuratie van een wereld of een dimensie.

sponge.command.config

/sponge heap

Dumpt de JVM heap.

sponge.command.heap

/sponge plugins

Toont plugins die momenteel geïnstalleerd zijn.

sponge.command.plugins

/sponge plugins reload

Vraagt plugins om hun eigen herlaadprocedures uit te voeren.

sponge.command.plugins.reload

/sponge reload

Herlaadt de globale, wereld of dimensie configuratie.

sponge.command.reload

/sponge save

Slaagt de globale, wereld of dimensie configuratie op.

sponge.command.save

/sponge timings

Het hoofd commando voor de tijdmetingen module.

sponge.command.timings

/sponge tps

Geef ticks per seconde voor elke wereld weer.

sponge.command.tps

/sponge version

Print de Sponge/SpongeAPI versies naar de console.

sponge.command.version


Sponge commando parameters

  • /sponge chunks [-g] [-d dim] [-w world]

  • /sponge config [-g] [-d dim] [-w world] key value

  • /sponge save [-g] [-d dim|*] [-w world|*]

  • /sponge reload [-g] [-d dim|*] [-w world|*]

Notitie

The /sponge audit command forces loading of any classes which have not yet been loaded, allowing the full output from all mixin debugging environment variables to be captured. This also requires the mixins.checks variable, see the Mixin wiki for more information.

Tip

Here are a few simple examples of the sponge config command in action. Please see Sponge configureren for a more detailed explanation.

  1. /sponge config logging.chunk-load true

Since no dimension was specified, the dimension would default to the sender(player) dimension. So if you were in a mystcraft dimension, this would alter the mystcraft dimension config.

  1. /sponge config -d nether logging.chunk-load true

Since a dimension type was specified, this would alter the nether dimension config (and hence all nether worlds).

  1. /sponge config -w DIM1 logging.chunk-load true

Dit zou de configuratie van de wereld met de naam DIM1 veranderen.

Tijdmetingen

Timings are a tool built into Sponge that allows server administrators to monitor the performance of their server. Timings will collect information about a server so that a report may later be generated on the data. Information that is recorded by timings include the server motd, version, uptime, memory, installed plugins, tps, percent of tps loss, amount of players, tile entities, entities, and chunks. Below is a list of sub-commands to /sponge timings:

Commando

Omschrijving

/sponge timings on

Schakelt tijdmetingen in. Houd er rekening mee dat dit ook de tijdmetingsgegevens zal resetten.

/sponge timings off

Schakelt tijdmetingen uit. Houd er rekening mee dat de meeste tijdmeting-opdrachten niet zullen functioneren en dat er geen tijdmetingen worden opgenomen als de tijdmetingen zijn uitgeschakeld.

/sponge timings reset

Reset alle tijdmetingsgegevens en begint met het opnemen van tijdmetingen nadat dit commando is uitgevoerd.

/sponge timings report

Generates the timings report on your server performance at https://timings.aikar.co

/sponge timings verbon

Enables timings monitoring at the verbose level.

/sponge timings verboff

Disables timings monitoring at the verbose level. Note that high-frequency timings will not be available.

/sponge timings cost

Vraagt de kosten van het gebruik van tijdmetingen op.

Forge

De volgende commando’s zijn enkel beschikbaar wanneer de SpongeForge coremod wordt gebruikt op Forge. Andere implementaties van de Sponge API, zoals SpongeVanilla, beschikken niet over deze commando’s.

Commando

Omschrijving

Permissie

/forge tps

Geef ticks per seconde voor elke wereld weer.

forge.command.forge

/forge track

Schakel tegel entiteit volgen in.

forge.command.forge


For any Forge mods that use the vanilla command API, command permissions are provided in the form <modid>.command.<commandname>.

Vanilla

There are several commands built-in to vanilla Minecraft that are also available on servers powered by Sponge. The list below is not comprehensive, but it includes the most commonly used commands. These commands are available to players with operator status (or the correct permission node). In general, permissions for vanilla Minecraft commands on a Sponge server are of the structure minecraft.command.<command>, as shown below.

Commando

Omschrijving

Permissie

/ban

Verban een speler.

minecraft.command.ban

/ban-ip

Verban een IP adres.

minecraft.command.ban-ip

/banlist

Bekijk alle verbande spelers.

minecraft.command.banlist

/clear

Maak een inventaris leeg.

minecraft.command.clear

/deop

Verwijder OP van een speler.

minecraft.command.deop

/difficulty

Stel de moeilijkheidsgraad in.

minecraft.command.difficulty

/gamemode

Stel de spelmodus van een speler in.

minecraft.command.gamemode

/gamerule

Zet een spelregel.

minecraft.command.gamerule

/give

Geef een voorwerp aan een speler.

minecraft.command.give

/kill

Vermoord een speler of entiteit.

minecraft.command.kill

/op

Geef operator status aan een speler.

minecraft.command.op

/pardon

Verwijder een speler van de verbanningslijst.

minecraft.command.pardon

/save-all

Sla de server op.

minecraft.command.save-all

/save-of

Schakel automatische server opslag uit.

minecraft.command.save-off

/save-on

Schakel automatische server opslag in.

minecraft.command.save-on

/setidletimeout

Definieer hoe lang spelers mogen niets doen voordat ze uit het spel worden gezet.

minecraft.command.setidletimeout

/setworldspawn

Zet het spawnpunt van de wereld.

minecraft.command.setworldspawn

/stop

Stop de server.

minecraft.command.stop

/toggledownfall

Wissel tussen zonnig en regenachtig weer.

minecraft.command.toggledownfall

/tp

Teleporteer spelers en entiteiten.

minecraft.command.tp

/weather

Zet het weer naar de gedefinieerde conditie.

minecraft.command.weather

/whitelist

Beheer de server whitelist.

minecraft.command.whitelist

/worldborder

Beheer de wereldgrens.

minecraft.command.worldborder


Sponge also creates a spawn-protection bypass permission, and two permissions for controlling the ability to edit commandblocks. Note that these permissions use the actual name of the commandblock, which is normally @ by default.

  • Allow player to bypass spawn-protection on all worlds: minecraft.spawn-protection.override

  • Allow editing an ordinary commandblock of the given name: minecraft.commandblock.edit.block.<name>

  • Allow editing a minecart commandblock of the given name: minecraft.commandblock.edit.minecart.<name>

Speler Commando’s

De volgende commando’s zijn beschikbaar als een deel van vanilla Minecraft voor spelers zonder operator status.

Commando

Omschrijving

Permissie

/help

Toon informatie over commando’s die gebruikt kunnen worden op de server.

minecraft.command.help

/me

Vertel iedereen wat je aan het doen bent.

minecraft.command.me

/say

Geef een bericht weer aan iedereen (of met behulp van selecteerders aan specifieke spelers).

minecraft.command.say

/tell

Stuur een privé bericht naar een andere speler.

minecraft.command.tell


Een volledige lijst van de commando’s in vanilla kan hier gevonden worden: https://minecraft-nl.gamepedia.com/Opdrachten. Permissies voor vanilla Minecraft commando’s op een Sponge server hebben de volgende opbouw: minecraft.command.<commando>.