WorldGuard block

Technická podpora k herním serverům Minecraft a Tekkit
Message
Autor
Ex_ur0n
Příspěvky: 139
Registrován: 01 zář 2013, 08:25
Reputation: 1

Re: WorldGuard block

#11 Příspěvekod Ex_ur0n » 12 říj 2014, 08:17

Ano zkouším to vždy.

Ještě dodávám config.
Spoiler: zobrazit

Kód: Vybrat vše

#
# WorldGuard blacklist
#
# The blacklist lets you block actions, blocks, and items from being used.
# You choose a set of "items to affect" and a list of "actions to perform."
#
###############################################################################
#
# Example to block some ore mining and placement:
# [coalore,goldore,ironore]
# on-break=deny,log,kick
# on-place=deny,tell
#
# Events that you can detect:
# - on-break (when a block of this type is about to be broken)
# - on-destroy-with (the item/block held by the user while destroying)
# - on-place (a block is being placed)
# - on-use (an item like flint and steel or a bucket is being used)
# - on-interact (when a block in used (doors, chests, etc.))
# - on-drop (an item is being dropped from the player's inventory)
# - on-acquire (an item enters a player's inventory via some method)
#
# Actions (for events):
# - deny (deny completely, used blacklist mode)
# - allow (used in whitelist mode)
# - notify (notify admins with the 'worldguard.notify' permission)
# - log (log to console/file/database)
# - tell (tell a player that that's not allowed)
# - kick (kick player)
# - ban (ban player)
#
# Options:
# - ignore-groups (comma-separated list of groups to not affect)
# - ignore-perms (comma-separated list of permissions to not affect - make up
#   your very own permissions!)
# - comment (message for yourself that is printed with 'log' and 'notify')
# - message (optional message to show the user instead; %s is the item name)
#
###############################################################################
#
# For more information, see:
# http://wiki.sk89q.com/wiki/WorldGuard/Blacklist
#
###############################################################################
#
# Some examples follow.
# REMEMBER: If a line has # in front, it will be ignored.
#

# pokladani
[327,389,23]
ignore-perms=worldguard.deny
ignore-groups=op,admin
on-use=deny,tell

# pouzivani
[373:8233]
ignore-perms=worldguard.denypotion
ignore-groups=op,admin
on-acquire=deny,tell

Smexhy
Příspěvky: 5602
Věk: 26
Registrován: 31 říj 2012, 15:50
Reputation: 20
Bydliště: Slovensko
Kontaktovat uživatele:

Re: WorldGuard block

#12 Příspěvekod Smexhy » 12 říj 2014, 08:38

Už viem ako, vymaž to z world.yml a hoď sem config.yml WorldGuardu

Ex_ur0n
Příspěvky: 139
Registrován: 01 zář 2013, 08:25
Reputation: 1

Re: WorldGuard block

#13 Příspěvekod Ex_ur0n » 12 říj 2014, 08:40

Jen tě chci upozornit že potřebuji aby nešla používat Streng II .


Spoiler: zobrazit

Kód: Vybrat vše

#
# WorldGuard's main configuration file
#
# This is the global configuration file. Anything placed into here will
# be applied to all worlds. However, each world has its own configuration
# file to allow you to replace most settings in here for that world only.
#
# About editing this file:
# - DO NOT USE TABS. You MUST use spaces or Bukkit will complain. If
#   you use an editor like Notepad++ (recommended for Windows users), you
#   must configure it to "replace tabs with spaces." In Notepad++, this can
#   be changed in Settings > Preferences > Language Menu.
# - Don't get rid of the indents. They are indented so some entries are
#   in categories (like "enforce-single-session" is in the "protection"
#   category.
# - If you want to check the format of this file before putting it
#   into WorldGuard, paste it into http://yaml-online-parser.appspot.com/
#   and see if it gives "ERROR:".
# - Lines starting with # are comments and so they are ignored.
#

regions:
    use-scheduler: true
    use-creature-spawn-event: true
    sql:
        use: false
        dsn: jdbc:mysql://localhost/worldguard
        username: worldguard
        password: worldguard
    enable: true
    invincibility-removes-mobs: false
    explosion-flags-block-entity-damage: true
    high-frequency-flags: false
    wand: 334
    max-claim-volume: 30000
    claim-only-inside-existing-regions: false
    max-region-count-per-player:
        default: 7
auto-invincible: false
use-player-move-event: true
use-player-teleports: true
security:
    deop-everyone-on-join: false
    block-in-game-op-command: false
host-keys: {}
summary-on-start: true
op-permissions: true
protection:
    item-durability: true
    remove-infinite-stacks: false
    disable-xp-orb-drops: false
    disable-obsidian-generators: false
gameplay:
    block-potions: []
    block-potions-overly-reliably: false
simulation:
    sponge:
        enable: true
        radius: 3
        redstone: false
default:
    pumpkin-scuba: false
    disable-health-regain: false
physics:
    no-physics-gravel: false
    no-physics-sand: false
    vine-like-rope-ladders: false
    allow-portal-anywhere: false
    disable-water-damage-blocks: []
ignition:
    block-tnt: false
    block-tnt-block-damage: false
    block-lighter: false
fire:
    disable-lava-fire-spread: true
    disable-all-fire-spread: false
    disable-fire-spread-blocks: []
    lava-spread-blocks: []
mobs:
    block-creeper-explosions: false
    block-creeper-block-damage: false
    block-wither-explosions: false
    block-wither-block-damage: false
    block-wither-skull-explosions: false
    block-wither-skull-block-damage: false
    block-enderdragon-block-damage: false
    block-enderdragon-portal-creation: false
    block-fireball-explosions: false
    block-fireball-block-damage: false
    anti-wolf-dumbness: false
    allow-tamed-spawns: true
    disable-enderman-griefing: false
    disable-snowman-trails: false
    block-painting-destroy: false
    block-item-frame-destroy: false
    block-plugin-spawning: true
    block-above-ground-slimes: false
    block-other-explosions: false
    block-zombie-door-destruction: false
    block-creature-spawn: []
player-damage:
    disable-fall-damage: false
    disable-lava-damage: false
    disable-fire-damage: false
    disable-lightning-damage: false
    disable-drowning-damage: false
    disable-suffocation-damage: false
    disable-contact-damage: false
    teleport-on-suffocation: false
    disable-void-damage: false
    teleport-on-void-falling: false
    disable-explosion-damage: false
    disable-mob-damage: false
    disable-death-messages: false
chest-protection:
    enable: false
    disable-off-check: false
crops:
    disable-creature-trampling: false
    disable-player-trampling: false
weather:
    prevent-lightning-strike-blocks: []
    disable-lightning-strike-fire: false
    disable-thunderstorm: false
    disable-weather: false
    disable-pig-zombification: false
    disable-powered-creepers: false
    always-raining: false
    always-thundering: false
dynamics:
    disable-mushroom-spread: false
    disable-ice-melting: false
    disable-snow-melting: false
    disable-snow-formation: false
    disable-ice-formation: false
    disable-leaf-decay: false
    disable-grass-growth: false
    disable-mycelium-spread: false
    disable-vine-growth: false
    disable-soil-dehydration: false
    snow-fall-blocks: []
blacklist:
    use-as-whitelist: false
    logging:
        console:
            enable: true
        database:
            enable: false
            dsn: jdbc:mysql://localhost:3306/minecraft
            user: root
            pass: ''
            table: blacklist_events
        file:
            enable: false
            path: worldguard/logs/%Y-%m-%d.log
            open-files: 10

Smexhy
Příspěvky: 5602
Věk: 26
Registrován: 31 říj 2012, 15:50
Reputation: 20
Bydliště: Slovensko
Kontaktovat uživatele:

Re: WorldGuard block

#14 Příspěvekod Smexhy » 12 říj 2014, 08:43

Do [] pridaj ID potionu ktorý chceš zablokovať:

Kód: Vybrat vše

gameplay:
    block-potions: []

Teda 373:8233
Výsledok:

Kód: Vybrat vše

gameplay:
    block-potions: [373:8233]

Ex_ur0n
Příspěvky: 139
Registrován: 01 zář 2013, 08:25
Reputation: 1

Re: WorldGuard block

#15 Příspěvekod Ex_ur0n » 12 říj 2014, 08:45

Stále jde ...

Smexhy
Příspěvky: 5602
Věk: 26
Registrován: 31 říj 2012, 15:50
Reputation: 20
Bydliště: Slovensko
Kontaktovat uživatele:

Re: WorldGuard block

#16 Příspěvekod Smexhy » 12 říj 2014, 08:47

Skús dať ešte

Kód: Vybrat vše

block-potions-overly-reliably
na true

vojtamaniak
Příspěvky: 3512
Věk: 26
Registrován: 18 úno 2012, 21:02
Reputation: 11

Re: WorldGuard block

#17 Příspěvekod vojtamaniak » 12 říj 2014, 08:47

Do block-potions se nedává ID, ale http://jd.bukkit.org/rb/apidocs/org/buk ... tType.html

Smexhy
Příspěvky: 5602
Věk: 26
Registrován: 31 říj 2012, 15:50
Reputation: 20
Bydliště: Slovensko
Kontaktovat uživatele:

Re: WorldGuard block

#18 Příspěvekod Smexhy » 12 říj 2014, 08:50

Yey, to ma nenapadlo, ale je blbosť že to nefunguje na ID...skús ešte názov teda :)

Ex_ur0n
Příspěvky: 139
Registrován: 01 zář 2013, 08:25
Reputation: 1

Re: WorldGuard block

#19 Příspěvekod Ex_ur0n » 12 říj 2014, 08:54

Ale Já potřebuji blockout jen Streng II ne Streng I a II.

Smexhy
Příspěvky: 5602
Věk: 26
Registrován: 31 říj 2012, 15:50
Reputation: 20
Bydliště: Slovensko
Kontaktovat uživatele:

Re: WorldGuard block

#20 Příspěvekod Smexhy » 12 říj 2014, 08:58

Skús niečo ako Potion_of_Strength_II


Zpět na „Minecraft, Tekkit“

Kdo je online

Uživatelé prohlížející si toto fórum: Žádní registrovaní uživatelé a 30 hostů