How to ban items from the server

The Aternos forums are now deprecated

Learn more about this change here.

For help regarding Aternos, we recommend you to visit our support center.

  • Oi! Eu sou o Rafael e tenho uma pergunta:

    Como banir itens do servidor.

    Atualmente estou trabalhando em um projeto para fazer uma cidade onde todos possam construir suas casas, estabelecimentos e construir tudo com outros jogadores. Mas para que isso funcione, preciso banir alguns itens como TNT e outros destrutivos para evitar pessoas mal-intencionadas. Por favor, alguém pode me ajudar a encontrar um mod para resolver isso? Obrigado! :) :santo:

  • Traduzido com Google Translate;


    Coloque um bloco de comando repetitivo, sempre ativo, e escreva e comande /desmarque @a tnt. Certifique-se de também executar /gamerule commandBlockOutput false.


    Ou você pode instalar um plugin para lidar com isso.


    :)

  • Currently, the city is under development in version 1.12.2 and I couldn't make this command, it is considered invalid. :/

  • For the first link, they say this:

    Commands:

    • /blockitem - Base command. Will give you all the available options.
      • ban [dim list] [item[:*:meta]] - Bans the item. (Defaults to the item you are holding and the dimension you are in.)
      • unban [item[:*:meta]] - Unbans the item. (Defaults to the item you are holding and the dimension you are in.)
      • list [dim:player] - Lists all the banned items sorted by dimension. (Defaults to all dimensions.)
      • unpack [player] - Removes items from the banned item container. (Defaults to you.)
      • pack [player] - Puts items back into banned item container. (Defaults to you.)


    The second link may not actually ban items correctly.

  • I didn't understand the order of commands, sorry I don't understand commands. Could you give me the correct command order so I can paste it into my command bar please?

  • I think this is how the commands work:



    /blockitem ban __GLOBAL__ (item) : bans an item from all worlds


    /blockitem unban (item) : unbans an item from the dimension your in.


    Running /blockitem ban __GLOBAL__ tnt should ban tnt from all worlds.

  • Roman

    Closed the thread.