mcipc.rcon.je package
Subpackages
- mcipc.rcon.je.commands package
- Submodules
- mcipc.rcon.je.commands.advancement module
- mcipc.rcon.je.commands.attribute module
- mcipc.rcon.je.commands.ban module
- mcipc.rcon.je.commands.bossbar module
- mcipc.rcon.je.commands.clear module
- mcipc.rcon.je.commands.clone module
- mcipc.rcon.je.commands.data module
- mcipc.rcon.je.commands.datapack module
- mcipc.rcon.je.commands.debug module
- mcipc.rcon.je.commands.defaultgamemode module
- mcipc.rcon.je.commands.difficulty module
- mcipc.rcon.je.commands.effect module
- mcipc.rcon.je.commands.enchant module
- mcipc.rcon.je.commands.experience module
- mcipc.rcon.je.commands.fill module
- mcipc.rcon.je.commands.forceload module
- mcipc.rcon.je.commands.gamemode module
- mcipc.rcon.je.commands.give module
- mcipc.rcon.je.commands.help module
- mcipc.rcon.je.commands.item module
- mcipc.rcon.je.commands.list module
- mcipc.rcon.je.commands.locate module
- mcipc.rcon.je.commands.locatebiome module
- mcipc.rcon.je.commands.loot module
- mcipc.rcon.je.commands.particle module
- mcipc.rcon.je.commands.playsound module
- mcipc.rcon.je.commands.publish module
- mcipc.rcon.je.commands.recipe module
- mcipc.rcon.je.commands.replaceitem module
- mcipc.rcon.je.commands.save module
- mcipc.rcon.je.commands.schedule module
- mcipc.rcon.je.commands.scoreboard module
- mcipc.rcon.je.commands.seed module
- mcipc.rcon.je.commands.setblock module
- mcipc.rcon.je.commands.setidletimeout module
- mcipc.rcon.je.commands.setworldspawn module
- mcipc.rcon.je.commands.spawnpoint module
- mcipc.rcon.je.commands.spectate module
- mcipc.rcon.je.commands.spreadplayers module
- mcipc.rcon.je.commands.stop module
- mcipc.rcon.je.commands.stopsound module
- mcipc.rcon.je.commands.summon module
- mcipc.rcon.je.commands.team module
- mcipc.rcon.je.commands.teammsg module
- mcipc.rcon.je.commands.teleport module
- mcipc.rcon.je.commands.time module
- mcipc.rcon.je.commands.title module
- mcipc.rcon.je.commands.trigger module
- mcipc.rcon.je.commands.weather module
- mcipc.rcon.je.commands.worldborder module
- Module contents
Submodules
mcipc.rcon.je.client module
Client implementation for Java Edition.
- class mcipc.rcon.je.client.Client(host: str, port: int, *, timeout: float | None = None, passwd: str | None = None)
Bases:
Client
A high-level RCON client with methods for the Java Edition.
- property advancement: AdvancementProxy
Delegates to a
mcipc.rcon.je.commands.advancement.AdvancementProxy
- attribute(target: str, attribute: str) AttributeProxy
Delegates to a
mcipc.rcon.je.commands.attribute.AttributeProxy
- ban(player: str, *reasons: str) str
Adds a player to then ban list.
- ban_ip(target: IPv4Address | IPv6Address | str, *reasons: str) str
Adds an IP address to the ban list.
- banlist(*ips_or_players: IPv4Address | IPv6Address | str) str
Displays the server’s ban list.
- property bossbar: BossbarProxy
Delegates to a
mcipc.rcon.je.commands.bossbar.BossbarProxy
- clear(targets: str | None = None, item: str | None = None, max_count: int | None = None) str
Clears items from player inventory, including items being dragged by the player. Java Edition implementation.
- clone(begin: tuple[Union[int, str, float], Union[int, str, float], Union[int, str, float]] | str, end: tuple[Union[int, str, float], Union[int, str, float], Union[int, str, float]] | str, destination: tuple[Union[int, str, float], Union[int, str, float], Union[int, str, float]] | str, *, mask_mode: MaskMode | str | None = None, filter: str | None = None, clone_mode: CloneMode | str | None = None) str
Clones blocks from one region to another.
- property data: DataProxy
Delegates to a
mcipc.rcon.je.commands.data.DataProxy
- property datapack: DatapackProxy
Delegates to a
mcipc.rcon.je.commands.datapack.DatapackProxy
- debug(command: DebugCommand | str) str
Invokes the debug command.
- deop(player: str) str
Revokes operator status from the respective player.
- difficulty(difficulty: Difficulty | str) bool
Sets the difficulty.
- property effect: EffectProxy
Delegates to a
mcipc.rcon.je.commands.effect.EffectProxy
- enchant(target: str, enchantment: Enchantment | str, level: int | None = None) str
Enchants the target.
- property execute: ExecuteProxy
Delegates to a
mcipc.rcon.commands.execute.ExecuteProxy
- experience() ExperienceProxy
Delegates to a
mcipc.rcon.je.commands.experience.ExperienceProxy
- fill(from_: tuple[Union[int, str, float], Union[int, str, float], Union[int, str, float]] | str, to: tuple[Union[int, str, float], Union[int, str, float], Union[int, str, float]] | str, block: str, mode: FillMode | str | None = None, filter: str | None = None) str
Fills all or parts of a region with a specific block.
- property forceload: ForceloadProxy
Delegates to a
mcipc.rcon.je.commands.forceload.ForceloadProxy
- function(name: Path | str) str
Runs the given function.
- gamerule(rule: str, value: bool | int | None = None) str
Sets or queries a game rule value.
- give(target: str, item: str, count: int | None = None) str
Gives an item to one or more players.
- help(command: str | None = None) dict
Returns help about commands.
- property item: ItemProxy
Delegates to a
mcipc.rcon.je.commands.item.ItemProxy
- kick(player: str, *reasons: str) KickedPlayer
Kicks the respective player.
- kill(targets: str)
Kills the targets.
- property loot: LootProxy
Delegates to a
mcipc.rcon.je.commands.loot.LootProxy
- me(message: str) str
Sends a message from RCON in first-person perspective.
- msg(player: str, message: str) str
Whispers a message to the respective player.
- op(player: str) str
Makes the respective player an operator.
- pardon(target: str) str
Removes entries from the ban list.
- particle(name: str, speed: float, count: int, parameters: str | None = None, pos: tuple[Union[int, str, float], Union[int, str, float], Union[int, str, float]] | str | None = None, delta: tuple[Union[int, str, float], Union[int, str, float], Union[int, str, float]] | str | None = None, mode: ParticleMode | str | None = None, viewers: str | None = None) str
Creates the respective particles.
- playsound(sound: str, source: SoundSource | str, targets: str, pos: tuple[Union[int, str, float], Union[int, str, float], Union[int, str, float]] | str | None = None, volume: float | None = None, pitch: float | None = None, min_volume: float | None = None) str
Plays a sound.
- publish(port: int | None = None) str
Opens singleplayer world to the local network.
- property recipe: RecipeProxy
Delegates to a
mcipc.rcon.je.commands.recipe.RecipeProxy
- reload() str
Reloads data packs in Java Edition and functions in behavior packs in Bedrock Edition.
- property replaceitem: ReplaceitemProxy
Delegates to a
mcipc.rcon.je.commands.replaceitem.ReplaceitemProxy
- run(command: str, *arguments: str) str
Runs a command and checks the return value for errors.
- save_all(flush: bool = False) str
Saves the server to the data storage device.
- save_off() str
Disables the server writing to the world files.
- save_on() str
Enables the server writing to the world files.
- say(message: str) str
Broadcast a message to all players.
- property schedule: ScheduleProxy
Delegates to a
mcipc.rcon.je.commands.schedule.ScheduleProxy
- property scoreboard: ScoreboardProxy
Delegates to a
mcipc.rcon.je.commands.scoreboard.ScoreboardProxy
- property seed: int
Returns the server seed.
- send_url(player: str, url: str, text: str | None = None) str
Sends a URL to the specified player. If no text is specified, it will default to the original URL.
- setblock(pos: tuple[Union[int, str, float], Union[int, str, float], Union[int, str, float]] | str, block: str, mode: SetblockMode | str | None = None) str
Sets a block.
- setidletimeout(minutes: int) str
Sets the time before idle players are kicked from the server.
- setworldspawn(pos: tuple[Union[int, str, float], Union[int, str, float], Union[int, str, float]] | str | None = None, angle: float | None = None) str
Sets the world spawn.
- spawnpoint(targets: str | None = None, pos: tuple[Union[int, str, float], Union[int, str, float], Union[int, str, float]] | str | None = None, angle: float | None = None) str
Sets the spawn point for a player.
- spectate(target: str | None = None, player: str | None = None) str
Start or stop spectating.
- spreadplayers(center: tuple[Union[int, str, float], Union[int, str, float]] | str, spread_distance: float, max_range: float, respec_teams: bool, targets: str, *, max_height: int | None = None) str
Spreads players to resulting position under the maximum height.
- stop() str
Stops the server.
- stopsound(targets: str, source: SoundSource | str | None = None, sound: str | None = None) str
Stops a sound.
- summon(entity: str, pos: tuple[Union[int, str, float], Union[int, str, float], Union[int, str, float]] | str | None = None, nbt: dict | None = None) str
Summons an entity.
- property team: TeamProxy
Delegates to a
mcipc.rcon.je.commands.team.TeamProxy
- teammsg(message: str) str
Sends a team message.
- teleport(*, destination: str | None = None, location: tuple[Union[int, str, float], Union[int, str, float], Union[int, str, float]] | str | None = None, targets: str | None = None, rotation: tuple[Union[int, str], Union[int, str]] | str | None = None, facing_location: tuple[Union[int, str, float], Union[int, str, float], Union[int, str, float]] | str | None = None, facing_entity: str | None = None, facing_anchor: Anchor | str | None = None) str
Teleports the player.
- tell(player: str, message: str) str
Whispers a message to the respective player.
- tellraw(player: str, obj: dict) str
Sends a message represented by a JSON-ish dict.
- property time: TimeProxy
Delegates to a
mcipc.rcon.je.commands.time.TimeProxy
- title(targets: str) TitleProxy
Delegates to a
mcipc.rcon.je.commands.title.TitleProxy
- tm(message: str) str
Sends a team message.
- property trigger: TriggerProxy
Delegates to a
mcipc.rcon.je.commands.trigger.TriggerProxy
- w(player: str, message: str) str
Whispers a message to the respective player.
- property weather: WeatherProxy
Delegates to a
mcipc.rcon.je.commands.weather.WeatherProxy
- property whitelist: WhitelistProxy
Delegates to a
mcipc.rcon.commands.whitelist.WhitelistProxy
- property worldborder: WorldborderProxy
Delegates to a
mcipc.rcon.je.commands.worldborder.WorldborderProxy
- xp() ExperienceProxy
Delegates to a
mcipc.rcon.je.commands.experience.ExperienceProxy
mcipc.rcon.je.enumerations module
Enumerations specific to the Java Edition.
- class mcipc.rcon.je.enumerations.Biome(value)
Bases:
str
,Enum
Available biomes in the Java Edition.
- BADLANDS = 'badlands'
- BADLANDS_PLATEAU = 'badlands_plateau'
- BAMBOO_JUNGLE = 'bamboo_jungle'
- BAMBOO_JUNGLE_HILLS = 'bamboo_jungle_hills'
- BASALT_DELTAS = 'basalt_deltas'
- BEACH = 'beach'
- BIRCH_FOREST = 'birch_forest'
- BIRCH_FOREST_HILLS = 'birch_forest_hills'
- COLD_OCEAN = 'cold_ocean'
- CRIMSON_FOREST = 'crimson_forest'
- DARK_FOREST = 'dark_forest'
- DARK_FOREST_HILLS = 'dark_forest_hills'
- DEEP_COLD_OCEAN = 'deep_cold_ocean'
- DEEP_FROZEN_OCEAN = 'deep_frozen_ocean'
- DEEP_LUKEWARM_OCEAN = 'deep_lukewarm_ocean'
- DEEP_OCEAN = 'deep_ocean'
- DEEP_WARM_OCEAN = 'deep_warm_ocean'
- DESERT = 'desert'
- DESERT_HILLS = 'desert_hills'
- DESERT_LAKES = 'desert_lakes'
- DRIPSTONE_CAVES = 'dripstone_caves'
- END_BARRENS = 'end_barrens'
- END_HIGHLANDS = 'end_highlands'
- END_MIDLANDS = 'end_midlands'
- ERODED_BADLANDS = 'eroded_badlands'
- FLOWER_FOREST = 'flower_forest'
- FOREST = 'forest'
- FROZEN_OCEAN = 'frozen_ocean'
- FROZEN_RIVER = 'frozen_river'
- GIANT_SPRUCE_TAIGA = 'giant_spruce_taiga'
- GIANT_SPRUCE_TAIGA_HILLS = 'giant_spruce_taiga_hills'
- GIANT_TREE_TAIGA = 'giant_tree_taiga'
- GIANT_TREE_TAIGA_HILLS = 'giant_tree_taiga_hills'
- GRAVELLY_MOUNTAINS = 'gravelly_mountains'
- ICE_SPIKES = 'ice_spikes'
- JUNGLE = 'jungle'
- JUNGLE_EDGE = 'jungle_edge'
- JUNGLE_HILLS = 'jungle_hills'
- LUKEWARM_OCEAN = 'lukewarm_ocean'
- MODIFIED_BADLANDS_PLATEAU = 'modified_badlands_plateau'
- MODIFIED_GRAVELLY_MOUNTAINS = 'modified_gravelly_mountains'
- MODIFIED_JUNGLE = 'modified_jungle'
- MODIFIED_JUNGLE_EDGE = 'modified_jungle_edge'
- MODIFIED_WOODEN_BADLANDS_PLATEAU = 'modified_wooded_badlands_plateau'
- MOUNTAINS = 'mountains'
- MOUNTAIN_EDGE = 'mountain_edge'
- MUSHROOM_FIELDS = 'mushroom_fields'
- MUSHROOM_FIELD_SHORE = 'mushroom_field_shore'
- NETHER_WASTES = 'nether_wastes'
- OCEAN = 'ocean'
- PLAINS = 'plains'
- RIVER = 'river'
- SAVANNA = 'savanna'
- SAVANNA_PLATEAU = 'savanna_plateau'
- SHATTERED_SAVANNA = 'shattered_savanna'
- SHATTERED_SAVANNA_PLATEAU = 'shattered_savanna_plateau'
- SMALL_END_ISLANDS = 'small_end_islands'
- SNOWY_BEACH = 'snowy_beach'
- SNOWY_MOUNTAINS = 'snowy_mountains'
- SNOWY_TAIGA = 'snowy_taiga'
- SNOWY_TAIGA_HILLS = 'snowy_taiga_hills'
- SNOWY_TAIGA_MOUNTAINS = 'snowy_taiga_mountains'
- SNOWY_TUNDRA = 'snowy_tundra'
- SOUL_SAND_VALLEY = 'soul_sand_valley'
- STONE_SHORE = 'stone_shore'
- SUNFLOWER_PLAINS = 'sunflower_plains'
- SWAMP = 'swamp'
- SWAMP_HILLS = 'swamp_hills'
- TAIGA = 'taiga'
- TAIGA_HILLS = 'taiga_hills'
- TAIGA_MOUNTAINS = 'taiga_mountains'
- TALL_BIRCH_FOREST = 'tall_birch_forest'
- TALL_BIRCH_HILLS = 'tall_birch_hills'
- THE_END = 'the_end'
- THE_VOID = 'the_void'
- WARM_OCEAN = 'warm_ocean'
- WARPED_FOREST = 'warped_forest'
- WOODED_BADLANDS_PLATEAU = 'wooded_badlands_plateau'
- WOODED_HILLS = 'wooded_hills'
- WOODED_MOUNTAINS = 'wooded_mountains'
- class mcipc.rcon.je.enumerations.CollisionRule(value)
Bases:
str
,Enum
Available collision rules.
- ALWAYS = 'always'
- NEVER = 'never'
- PUSH_OTHER_TEAMS = 'pushOtherTeams'
- PUSH_OWN_TEAM = 'pushOwnTeam'
- class mcipc.rcon.je.enumerations.Color(value)
Bases:
str
,Enum
Available colors.
- AQUA = 'aqua'
- BLACK = 'black'
- BLUE = 'blue'
- DARK_AQUA = 'dark_aqua'
- DARK_BLUE = 'dark_blue'
- DARK_GRAY = 'dark_gray'
- DARK_GREEN = 'dark_green'
- DARK_PURPLE = 'dark_purple'
- DARK_RED = 'dark_red'
- GOLD = 'gold'
- GRAY = 'gray'
- GREEN = 'green'
- LIGHT_PURPLE = 'light_purple'
- RED = 'red'
- RESET = 'reset'
- WHITE = 'white'
- YELLOW = 'yellow'
- class mcipc.rcon.je.enumerations.Enchantment(value)
Bases:
str
,Enum
Available enchantments in the Java Edition.
- AQUA_AFFINITY = 'aqua_affinity'
- BANE_OF_ARTHROPODS = 'bane_of_arthropods'
- BLAST_PROTECTION = 'blast_protection'
- CHANNELING = 'channeling'
- CLEAVING = 'cleaving'
- CURSE_OF_BINDING = 'binding_curse'
- CURSE_OF_VANISHING = 'vanishing_curse'
- DEPTH_STRIDER = 'depth_strider'
- EFFICIENCY = 'efficiency'
- FEATHER_FALLING = 'feather_falling'
- FIRE_ASPECT = 'fire_aspect'
- FIRE_PROTECTION = 'fire_protection'
- FLAME = 'flame'
- FORTUNE = 'fortune'
- FROST_WALKER = 'frost_walker'
- IMPALING = 'impaling'
- INFINITY = 'infinity'
- KNOCKBACK = 'knockback'
- LOOTING = 'looting'
- LOYALTY = 'loyalty'
- LUCK_OF_THE_SEA = 'luck_of_the_sea'
- LURE = 'lure'
- MENDING = 'mending'
- MULTISHOT = 'multishot'
- PIERCING = 'piercing'
- POWER = 'power'
- PROJECTILE_PROTECTION = 'projectile_protection'
- PROTECTION = 'protection'
- PUNCH = 'punch'
- QUICK_CHARGE = 'quick_charge'
- RESPIRATION = 'respiration'
- RIPTIDE = 'riptide'
- SHARPNESS = 'sharpness'
- SILK_TOUCH = 'silk_touch'
- SMITE = 'smite'
- SOUL_SPEED = 'soul_speed'
- SWEEPING = 'sweeping'
- THORNS = 'thorns'
- UNBREAKING = 'unbreaking'
- class mcipc.rcon.je.enumerations.ParticleMode(value)
Bases:
str
,Enum
Available particle modes.
- FORCE = 'force'
- NORMAL = 'normal'
- class mcipc.rcon.je.enumerations.RenderType(value)
Bases:
str
,Enum
Available render types.
- HEARTS = 'hearts'
- INTEGER = 'integer'
- class mcipc.rcon.je.enumerations.ScheduleMode(value)
Bases:
str
,Enum
Available schedule modes.
- APPEND = 'append'
- REPLACE = 'replace'
- class mcipc.rcon.je.enumerations.SoundSource(value)
Bases:
str
,Enum
Available sound sources.
- AMBIENT = 'ambient'
- BLOCK = 'block'
- HOSTILE = 'hostile'
- MASTER = 'master'
- MUSIC = 'music'
- NEUTRAL = 'neutral'
- PLAYER = 'player'
- RECORD = 'record'
- VOICE = 'voice'
- WEATHER = 'weather'
- class mcipc.rcon.je.enumerations.Structure(value)
Bases:
str
,Enum
Available structures in the Java Edition.
- BASTION_REMNANT = 'bastion_remnant'
- BURIED_TREASURE = 'buried_treasure'
- DESERT_PYRAMID = 'desert_pyramid'
- END_CITY = 'endcity'
- FORTRESS = 'fortress'
- IGLOO = 'igloo'
- JUNGLE_PYRAMID = 'jungle_pyramid'
- MINESHAFT = 'mineshaft'
- MONUMENT = 'monument'
- NETHER_FOSSIL = 'nether_fossil'
- OCEAN_RUINS = 'ocean_ruin'
- PILLAGER_OUTPOST = 'pillager_outpost'
- RUINED_PORTAL = 'ruined_portal'
- SHIPWRECK = 'shipwreck'
- STRONGHOLD = 'stronghold'
- SWAMP_HUT = 'swamp_hut'
- VILLAGE = 'village'
- WOODLAND_MANSION = 'mansion'
- class mcipc.rcon.je.enumerations.TeamOption(value)
Bases:
str
,Enum
Available team options.
- COLLISION_RULE = 'collisionRule'
- COLOR = 'color'
- DEATH_MESSAGE_VISIBILITY = 'deathMessageVisibility'
- DISPLAY_NAME = 'displayName'
- FRIENDLY_FIRE = 'friendlyFire'
- NAMETAG_VISIBILITY = 'nametagVisibility'
- PREFIX = 'prefix'
- SEE_FRIENDLY_INVISIBLES = 'seeFriendlyInvisibles'
- SUFFIX = 'suffix'
- class mcipc.rcon.je.enumerations.TimeSpec(value)
Bases:
str
,Enum
Available time specifications.
- DAY = 'day'
- MIDNIGHT = 'midnight'
- NIGHT = 'night'
- NOON = 'noon'
mcipc.rcon.je.types module
Types for client -> Java Edition server communication.
Module contents
RCON implementation for the Java Edition server.
- class mcipc.rcon.je.Biome(value)
Bases:
str
,Enum
Available biomes in the Java Edition.
- BADLANDS = 'badlands'
- BADLANDS_PLATEAU = 'badlands_plateau'
- BAMBOO_JUNGLE = 'bamboo_jungle'
- BAMBOO_JUNGLE_HILLS = 'bamboo_jungle_hills'
- BASALT_DELTAS = 'basalt_deltas'
- BEACH = 'beach'
- BIRCH_FOREST = 'birch_forest'
- BIRCH_FOREST_HILLS = 'birch_forest_hills'
- COLD_OCEAN = 'cold_ocean'
- CRIMSON_FOREST = 'crimson_forest'
- DARK_FOREST = 'dark_forest'
- DARK_FOREST_HILLS = 'dark_forest_hills'
- DEEP_COLD_OCEAN = 'deep_cold_ocean'
- DEEP_FROZEN_OCEAN = 'deep_frozen_ocean'
- DEEP_LUKEWARM_OCEAN = 'deep_lukewarm_ocean'
- DEEP_OCEAN = 'deep_ocean'
- DEEP_WARM_OCEAN = 'deep_warm_ocean'
- DESERT = 'desert'
- DESERT_HILLS = 'desert_hills'
- DESERT_LAKES = 'desert_lakes'
- DRIPSTONE_CAVES = 'dripstone_caves'
- END_BARRENS = 'end_barrens'
- END_HIGHLANDS = 'end_highlands'
- END_MIDLANDS = 'end_midlands'
- ERODED_BADLANDS = 'eroded_badlands'
- FLOWER_FOREST = 'flower_forest'
- FOREST = 'forest'
- FROZEN_OCEAN = 'frozen_ocean'
- FROZEN_RIVER = 'frozen_river'
- GIANT_SPRUCE_TAIGA = 'giant_spruce_taiga'
- GIANT_SPRUCE_TAIGA_HILLS = 'giant_spruce_taiga_hills'
- GIANT_TREE_TAIGA = 'giant_tree_taiga'
- GIANT_TREE_TAIGA_HILLS = 'giant_tree_taiga_hills'
- GRAVELLY_MOUNTAINS = 'gravelly_mountains'
- ICE_SPIKES = 'ice_spikes'
- JUNGLE = 'jungle'
- JUNGLE_EDGE = 'jungle_edge'
- JUNGLE_HILLS = 'jungle_hills'
- LUKEWARM_OCEAN = 'lukewarm_ocean'
- MODIFIED_BADLANDS_PLATEAU = 'modified_badlands_plateau'
- MODIFIED_GRAVELLY_MOUNTAINS = 'modified_gravelly_mountains'
- MODIFIED_JUNGLE = 'modified_jungle'
- MODIFIED_JUNGLE_EDGE = 'modified_jungle_edge'
- MODIFIED_WOODEN_BADLANDS_PLATEAU = 'modified_wooded_badlands_plateau'
- MOUNTAINS = 'mountains'
- MOUNTAIN_EDGE = 'mountain_edge'
- MUSHROOM_FIELDS = 'mushroom_fields'
- MUSHROOM_FIELD_SHORE = 'mushroom_field_shore'
- NETHER_WASTES = 'nether_wastes'
- OCEAN = 'ocean'
- PLAINS = 'plains'
- RIVER = 'river'
- SAVANNA = 'savanna'
- SAVANNA_PLATEAU = 'savanna_plateau'
- SHATTERED_SAVANNA = 'shattered_savanna'
- SHATTERED_SAVANNA_PLATEAU = 'shattered_savanna_plateau'
- SMALL_END_ISLANDS = 'small_end_islands'
- SNOWY_BEACH = 'snowy_beach'
- SNOWY_MOUNTAINS = 'snowy_mountains'
- SNOWY_TAIGA = 'snowy_taiga'
- SNOWY_TAIGA_HILLS = 'snowy_taiga_hills'
- SNOWY_TAIGA_MOUNTAINS = 'snowy_taiga_mountains'
- SNOWY_TUNDRA = 'snowy_tundra'
- SOUL_SAND_VALLEY = 'soul_sand_valley'
- STONE_SHORE = 'stone_shore'
- SUNFLOWER_PLAINS = 'sunflower_plains'
- SWAMP = 'swamp'
- SWAMP_HILLS = 'swamp_hills'
- TAIGA = 'taiga'
- TAIGA_HILLS = 'taiga_hills'
- TAIGA_MOUNTAINS = 'taiga_mountains'
- TALL_BIRCH_FOREST = 'tall_birch_forest'
- TALL_BIRCH_HILLS = 'tall_birch_hills'
- THE_END = 'the_end'
- THE_VOID = 'the_void'
- WARM_OCEAN = 'warm_ocean'
- WARPED_FOREST = 'warped_forest'
- WOODED_BADLANDS_PLATEAU = 'wooded_badlands_plateau'
- WOODED_HILLS = 'wooded_hills'
- WOODED_MOUNTAINS = 'wooded_mountains'
- class mcipc.rcon.je.Client(host: str, port: int, *, timeout: float | None = None, passwd: str | None = None)
Bases:
Client
A high-level RCON client with methods for the Java Edition.
- property advancement: AdvancementProxy
Delegates to a
mcipc.rcon.je.commands.advancement.AdvancementProxy
- attribute(target: str, attribute: str) AttributeProxy
Delegates to a
mcipc.rcon.je.commands.attribute.AttributeProxy
- ban(player: str, *reasons: str) str
Adds a player to then ban list.
- ban_ip(target: IPv4Address | IPv6Address | str, *reasons: str) str
Adds an IP address to the ban list.
- banlist(*ips_or_players: IPv4Address | IPv6Address | str) str
Displays the server’s ban list.
- property bossbar: BossbarProxy
Delegates to a
mcipc.rcon.je.commands.bossbar.BossbarProxy
- clear(targets: str | None = None, item: str | None = None, max_count: int | None = None) str
Clears items from player inventory, including items being dragged by the player. Java Edition implementation.
- clone(begin: tuple[Union[int, str, float], Union[int, str, float], Union[int, str, float]] | str, end: tuple[Union[int, str, float], Union[int, str, float], Union[int, str, float]] | str, destination: tuple[Union[int, str, float], Union[int, str, float], Union[int, str, float]] | str, *, mask_mode: MaskMode | str | None = None, filter: str | None = None, clone_mode: CloneMode | str | None = None) str
Clones blocks from one region to another.
- property data: DataProxy
Delegates to a
mcipc.rcon.je.commands.data.DataProxy
- property datapack: DatapackProxy
Delegates to a
mcipc.rcon.je.commands.datapack.DatapackProxy
- debug(command: DebugCommand | str) str
Invokes the debug command.
- deop(player: str) str
Revokes operator status from the respective player.
- difficulty(difficulty: Difficulty | str) bool
Sets the difficulty.
- property effect: EffectProxy
Delegates to a
mcipc.rcon.je.commands.effect.EffectProxy
- enchant(target: str, enchantment: Enchantment | str, level: int | None = None) str
Enchants the target.
- property execute: ExecuteProxy
Delegates to a
mcipc.rcon.commands.execute.ExecuteProxy
- experience() ExperienceProxy
Delegates to a
mcipc.rcon.je.commands.experience.ExperienceProxy
- fill(from_: tuple[Union[int, str, float], Union[int, str, float], Union[int, str, float]] | str, to: tuple[Union[int, str, float], Union[int, str, float], Union[int, str, float]] | str, block: str, mode: FillMode | str | None = None, filter: str | None = None) str
Fills all or parts of a region with a specific block.
- property forceload: ForceloadProxy
Delegates to a
mcipc.rcon.je.commands.forceload.ForceloadProxy
- function(name: Path | str) str
Runs the given function.
- gamerule(rule: str, value: bool | int | None = None) str
Sets or queries a game rule value.
- give(target: str, item: str, count: int | None = None) str
Gives an item to one or more players.
- help(command: str | None = None) dict
Returns help about commands.
- property item: ItemProxy
Delegates to a
mcipc.rcon.je.commands.item.ItemProxy
- kick(player: str, *reasons: str) KickedPlayer
Kicks the respective player.
- kill(targets: str)
Kills the targets.
- property loot: LootProxy
Delegates to a
mcipc.rcon.je.commands.loot.LootProxy
- me(message: str) str
Sends a message from RCON in first-person perspective.
- msg(player: str, message: str) str
Whispers a message to the respective player.
- op(player: str) str
Makes the respective player an operator.
- pardon(target: str) str
Removes entries from the ban list.
- particle(name: str, speed: float, count: int, parameters: str | None = None, pos: tuple[Union[int, str, float], Union[int, str, float], Union[int, str, float]] | str | None = None, delta: tuple[Union[int, str, float], Union[int, str, float], Union[int, str, float]] | str | None = None, mode: ParticleMode | str | None = None, viewers: str | None = None) str
Creates the respective particles.
- playsound(sound: str, source: SoundSource | str, targets: str, pos: tuple[Union[int, str, float], Union[int, str, float], Union[int, str, float]] | str | None = None, volume: float | None = None, pitch: float | None = None, min_volume: float | None = None) str
Plays a sound.
- publish(port: int | None = None) str
Opens singleplayer world to the local network.
- property recipe: RecipeProxy
Delegates to a
mcipc.rcon.je.commands.recipe.RecipeProxy
- reload() str
Reloads data packs in Java Edition and functions in behavior packs in Bedrock Edition.
- property replaceitem: ReplaceitemProxy
Delegates to a
mcipc.rcon.je.commands.replaceitem.ReplaceitemProxy
- run(command: str, *arguments: str) str
Runs a command and checks the return value for errors.
- save_all(flush: bool = False) str
Saves the server to the data storage device.
- save_off() str
Disables the server writing to the world files.
- save_on() str
Enables the server writing to the world files.
- say(message: str) str
Broadcast a message to all players.
- property schedule: ScheduleProxy
Delegates to a
mcipc.rcon.je.commands.schedule.ScheduleProxy
- property scoreboard: ScoreboardProxy
Delegates to a
mcipc.rcon.je.commands.scoreboard.ScoreboardProxy
- property seed: int
Returns the server seed.
- send_url(player: str, url: str, text: str | None = None) str
Sends a URL to the specified player. If no text is specified, it will default to the original URL.
- setblock(pos: tuple[Union[int, str, float], Union[int, str, float], Union[int, str, float]] | str, block: str, mode: SetblockMode | str | None = None) str
Sets a block.
- setidletimeout(minutes: int) str
Sets the time before idle players are kicked from the server.
- setworldspawn(pos: tuple[Union[int, str, float], Union[int, str, float], Union[int, str, float]] | str | None = None, angle: float | None = None) str
Sets the world spawn.
- spawnpoint(targets: str | None = None, pos: tuple[Union[int, str, float], Union[int, str, float], Union[int, str, float]] | str | None = None, angle: float | None = None) str
Sets the spawn point for a player.
- spectate(target: str | None = None, player: str | None = None) str
Start or stop spectating.
- spreadplayers(center: tuple[Union[int, str, float], Union[int, str, float]] | str, spread_distance: float, max_range: float, respec_teams: bool, targets: str, *, max_height: int | None = None) str
Spreads players to resulting position under the maximum height.
- stop() str
Stops the server.
- stopsound(targets: str, source: SoundSource | str | None = None, sound: str | None = None) str
Stops a sound.
- summon(entity: str, pos: tuple[Union[int, str, float], Union[int, str, float], Union[int, str, float]] | str | None = None, nbt: dict | None = None) str
Summons an entity.
- property team: TeamProxy
Delegates to a
mcipc.rcon.je.commands.team.TeamProxy
- teammsg(message: str) str
Sends a team message.
- teleport(*, destination: str | None = None, location: tuple[Union[int, str, float], Union[int, str, float], Union[int, str, float]] | str | None = None, targets: str | None = None, rotation: tuple[Union[int, str], Union[int, str]] | str | None = None, facing_location: tuple[Union[int, str, float], Union[int, str, float], Union[int, str, float]] | str | None = None, facing_entity: str | None = None, facing_anchor: Anchor | str | None = None) str
Teleports the player.
- tell(player: str, message: str) str
Whispers a message to the respective player.
- tellraw(player: str, obj: dict) str
Sends a message represented by a JSON-ish dict.
- property time: TimeProxy
Delegates to a
mcipc.rcon.je.commands.time.TimeProxy
- title(targets: str) TitleProxy
Delegates to a
mcipc.rcon.je.commands.title.TitleProxy
- tm(message: str) str
Sends a team message.
- property trigger: TriggerProxy
Delegates to a
mcipc.rcon.je.commands.trigger.TriggerProxy
- w(player: str, message: str) str
Whispers a message to the respective player.
- property weather: WeatherProxy
Delegates to a
mcipc.rcon.je.commands.weather.WeatherProxy
- property whitelist: WhitelistProxy
Delegates to a
mcipc.rcon.commands.whitelist.WhitelistProxy
- property worldborder: WorldborderProxy
Delegates to a
mcipc.rcon.je.commands.worldborder.WorldborderProxy
- xp() ExperienceProxy
Delegates to a
mcipc.rcon.je.commands.experience.ExperienceProxy
- class mcipc.rcon.je.CollisionRule(value)
Bases:
str
,Enum
Available collision rules.
- ALWAYS = 'always'
- NEVER = 'never'
- PUSH_OTHER_TEAMS = 'pushOtherTeams'
- PUSH_OWN_TEAM = 'pushOwnTeam'
- class mcipc.rcon.je.Color(value)
Bases:
str
,Enum
Available colors.
- AQUA = 'aqua'
- BLACK = 'black'
- BLUE = 'blue'
- DARK_AQUA = 'dark_aqua'
- DARK_BLUE = 'dark_blue'
- DARK_GRAY = 'dark_gray'
- DARK_GREEN = 'dark_green'
- DARK_PURPLE = 'dark_purple'
- DARK_RED = 'dark_red'
- GOLD = 'gold'
- GRAY = 'gray'
- GREEN = 'green'
- LIGHT_PURPLE = 'light_purple'
- RED = 'red'
- RESET = 'reset'
- WHITE = 'white'
- YELLOW = 'yellow'
- class mcipc.rcon.je.Enchantment(value)
Bases:
str
,Enum
Available enchantments in the Java Edition.
- AQUA_AFFINITY = 'aqua_affinity'
- BANE_OF_ARTHROPODS = 'bane_of_arthropods'
- BLAST_PROTECTION = 'blast_protection'
- CHANNELING = 'channeling'
- CLEAVING = 'cleaving'
- CURSE_OF_BINDING = 'binding_curse'
- CURSE_OF_VANISHING = 'vanishing_curse'
- DEPTH_STRIDER = 'depth_strider'
- EFFICIENCY = 'efficiency'
- FEATHER_FALLING = 'feather_falling'
- FIRE_ASPECT = 'fire_aspect'
- FIRE_PROTECTION = 'fire_protection'
- FLAME = 'flame'
- FORTUNE = 'fortune'
- FROST_WALKER = 'frost_walker'
- IMPALING = 'impaling'
- INFINITY = 'infinity'
- KNOCKBACK = 'knockback'
- LOOTING = 'looting'
- LOYALTY = 'loyalty'
- LUCK_OF_THE_SEA = 'luck_of_the_sea'
- LURE = 'lure'
- MENDING = 'mending'
- MULTISHOT = 'multishot'
- PIERCING = 'piercing'
- POWER = 'power'
- PROJECTILE_PROTECTION = 'projectile_protection'
- PROTECTION = 'protection'
- PUNCH = 'punch'
- QUICK_CHARGE = 'quick_charge'
- RESPIRATION = 'respiration'
- RIPTIDE = 'riptide'
- SHARPNESS = 'sharpness'
- SILK_TOUCH = 'silk_touch'
- SMITE = 'smite'
- SOUL_SPEED = 'soul_speed'
- SWEEPING = 'sweeping'
- THORNS = 'thorns'
- UNBREAKING = 'unbreaking'
- class mcipc.rcon.je.ParticleMode(value)
Bases:
str
,Enum
Available particle modes.
- FORCE = 'force'
- NORMAL = 'normal'
- class mcipc.rcon.je.ScheduleMode(value)
Bases:
str
,Enum
Available schedule modes.
- APPEND = 'append'
- REPLACE = 'replace'
- class mcipc.rcon.je.SoundSource(value)
Bases:
str
,Enum
Available sound sources.
- AMBIENT = 'ambient'
- BLOCK = 'block'
- HOSTILE = 'hostile'
- MASTER = 'master'
- MUSIC = 'music'
- NEUTRAL = 'neutral'
- PLAYER = 'player'
- RECORD = 'record'
- VOICE = 'voice'
- WEATHER = 'weather'
- class mcipc.rcon.je.Structure(value)
Bases:
str
,Enum
Available structures in the Java Edition.
- BASTION_REMNANT = 'bastion_remnant'
- BURIED_TREASURE = 'buried_treasure'
- DESERT_PYRAMID = 'desert_pyramid'
- END_CITY = 'endcity'
- FORTRESS = 'fortress'
- IGLOO = 'igloo'
- JUNGLE_PYRAMID = 'jungle_pyramid'
- MINESHAFT = 'mineshaft'
- MONUMENT = 'monument'
- NETHER_FOSSIL = 'nether_fossil'
- OCEAN_RUINS = 'ocean_ruin'
- PILLAGER_OUTPOST = 'pillager_outpost'
- RUINED_PORTAL = 'ruined_portal'
- SHIPWRECK = 'shipwreck'
- STRONGHOLD = 'stronghold'
- SWAMP_HUT = 'swamp_hut'
- VILLAGE = 'village'
- WOODLAND_MANSION = 'mansion'
- class mcipc.rcon.je.TeamOption(value)
Bases:
str
,Enum
Available team options.
- COLLISION_RULE = 'collisionRule'
- COLOR = 'color'
- DEATH_MESSAGE_VISIBILITY = 'deathMessageVisibility'
- DISPLAY_NAME = 'displayName'
- FRIENDLY_FIRE = 'friendlyFire'
- NAMETAG_VISIBILITY = 'nametagVisibility'
- PREFIX = 'prefix'
- SEE_FRIENDLY_INVISIBLES = 'seeFriendlyInvisibles'
- SUFFIX = 'suffix'
- class mcipc.rcon.je.TimeSpec(value)
Bases:
str
,Enum
Available time specifications.
- DAY = 'day'
- MIDNIGHT = 'midnight'
- NIGHT = 'night'
- NOON = 'noon'