Infiniverse Docs
DiscordModrinth Page
  • Welcome
  • Guide
  • Infinilib
    • Introduction
    • Functions
    • Tags
  • Infiniresources
    • Introduction
    • Textures
  • Infinicrafts
    • Introduction
    • Functions
    • Recipe
  • Infiniextras
    • Introduction
    • Functions
    • Recipe
    • Blocks & Items
    • Achievements
  • Infinitools
    • Introduction
  • Functions
  • Recipe
  • Infinicontrol
    • Introduction
    • Functions
  • Infinitrolls
    • Introduction
    • Functions
Powered by GitBook
On this page
  • Fake Death Functions
  • Decor Crates Newest Update (Added in v3.0)
  1. Infinicontrol

Functions

Infinicrafts includes a whole lot of functions.

It also includes the load function, which you can already guess what it does.

Here's a list of most of the functions, with their arguments and syntax (Jump to newest content):

  • Function: bc Description: Broadcast a message as the server. Syntax: bc {msg:"X"} where X is the message to broadcast.

  • Function: broadcast Description: Same as bc. Broadcast a message as the server. Syntax: broadcast {msg:"X"} where X is the message to broadcast.

  • Function: find Description: Teleport to a specified player. Syntax: find {player:"X"} where X is the player to teleport to. You may also use the target selectors @p for nearest player or @r for a random player.

  • Function: god Description: Make a specified player invincible. Syntax: god {player:"X"} where X is the specified player. You may also use the target selectors @s for yourself, @p for nearest player, @a for all players, or @r for a random player.

  • Function: ungod Description: Make a specified player be no longer invincible. Syntax: ungod {player:"X"} where X is the specified player. You may also use the target selectors @s for yourself, @p for nearest player, @a for all players, or @r for a random player.

  • Function: heal Description: Fully heal a specified player and give them full hunger points. Syntax: heal {player:"X"} where X is the specified player. You may also use the target selectors @s for yourself, @p for nearest player, @a for all players, or @r for a random player.

  • Function: vanish Description: Become invisible to other players. Server operators will receive a message that you have gone into vanish. Syntax: vanish

  • Function: unvanish Description: Become visible to other players. Server operators will receive a message that you have unvanished. Syntax: unvanish

  • Function: leave Description: Become invisible to other players. A message will appear to everyone that you left the game, however you will still show up in the TAB list. Syntax: leave

  • Function: join Description: Become visible to other players. A message will appear to everyone that you joined the game. Syntax: join

  • Function: smite Description: Summon a lightning bolt at a selected player. If you repeat this command, the player will eventually die. Syntax: smite {player:"X"} where X is the specified player. You may also use the target selectors @s for yourself, @p for nearest player, @a for all players, or @r for a random player.

  • Function: sudo Description: Sudo a player to say a message in the chat. For example, if you sudo a player called zakattack9 to say "I got sudoed", a chat message will appear: <zakattack9> I got sudoed. This will not work on servers that have a custom chatting system like zakattack9: This is a chat message. Syntax: sudo {player:"X"} where X is the specified player. You cannot use target selectors.

  • Function: tpall Description: Teleports all online players to your location. Syntax: tpall

  • Function: unban Description: Unbans a previously banned player. This is the same as using the vanilla command /pardon except most players do not know that /pardon (or /pardon-ip) is the command to unban a player or their IP address. The command will also tell you Next time, use /pardon to unban a player, or /pardon-ip to unban their IP. Syntax: unban {player:"X"} where X is the specified player. You cannot use target selectors.

  • Function: countdown Description: Gives you a book that allows you to create, remove, and set a countdown timer. Great for events or other purposes. Syntax: countdown

All functions are called with /function infinicontrol:FUNCTION where FUNCTION is the function you wish to run with their correct syntax. For example if you wish to smite a player called zakattack9 you would run the command /function infinicontrol:smite {player:"zakattack9"}.

Fake Death Functions

There are a bunch of functions for faking your death. There are too many so I will not list them all.

To fake your death, type in chat the command /function infinicontrol:fake_death/ and do not run it. Wait for Minecraft's built in command selector to see a list of all the fake deaths. All fake death commands do not have extra arguments like {player:""} etc. and target yourself. You will not die but it will send a death message in chat for the type of death you chose. For deaths by mobs, type in chat the command /function infinicontrol:fake_death/mob/ and do not run it. Wait for Minecraft's built in command selector to see a list of all the fake deaths caused by mobs.

Decor Crates Newest Update (Added in v3.0)

We have added a new group of functions, Decor Crates! These give you either a command block, or a shulker box of command blocks, which allow you to create decoration for your world!

If you get a shulker box of command blocks, make sure that you run them in the order they are placed in the shulker box, and that every command block is placed in the same place. Once you place the first command block and run it, break the command block and then place the second in the exact same spot you placed the first, and so on.

If you'd like to add collisions to some of the decoration, like the Player Statue, you can use barriers!

Here is the current list of decor crates (there is a total of 11):

  • Decoration: player_statue Has Additional Options: no Syntax: decor_crates/player_statue

  • Decoration: melon_sign Has Additional Options: no Syntax: decor_crates/melon_sign

  • Decoration: campfire Has Additional Options: yes Syntax: decor_crates/campfire

  • Decoration: lava_chicken Has Additional Options: no Syntax: decor_crates/lava_chicken

  • Decoration: beach_bucket Has Additional Options: no Syntax: decor_crates/beach_bucket

  • Decoration: sandcastle Has Additional Options: yes Syntax: decor_crates/sandcastle

  • Decoration: firewood_pile Has Additional Options: no Syntax: decor_crates/firewood_pile

  • Decoration: armory_display Has Additional Options: no Syntax: decor_crates/armory_display

  • Decoration: vending_machine Has Additional Options: no Syntax: decor_crates/vending_machine

  • Decoration: christmas_tree Has Additional Options: yes Syntax: decor_crates/christmas_tree

  • Decoration: fishing_rod Has Additional Options: no Syntax: decor_crates/fishing_rod

PreviousIntroductionNextIntroduction

Last updated 1 month ago