Stránka 1 z 2

Elíky

Napsal: 20 čer 2014, 15:28
od Ex_ur0n
93.91.250.129:27093


Dobrý den, chtěl bych se zeptat jak mám zakázat pití a hazeni elíku a pod a aji z dispenzeru ( chci zakázat Invisible, streng II)

Re: Elíky

Napsal: 20 čer 2014, 16:12
od Lukas555
Keď máš WorldGuard tak urob zakáž hádzanie elikov /rg flag [ARENA] potion-splash allow/deny

Re: Elíky

Napsal: 20 čer 2014, 16:39
od Ex_ur0n
Nejde

Re: Elíky

Napsal: 21 čer 2014, 14:15
od nejento
Můžeš zakázat přímo nějaké lektvary přímo v configu WorldGuardu a to tak, že si najdeš název (http://jd.bukkit.org/rb/apidocs/org/buk ... tType.html) v Bukkit API a ty tam napíšeš.

Pro ty dva potiony, které jsi napsal jsou to: INVISIBILITY a INCREASE_DAMAGE

Re: Elíky

Napsal: 21 čer 2014, 17:39
od Johanka
toto mi nejde ;) koukal jsem na to ;) ..... :(

Re: Elíky

Napsal: 21 čer 2014, 17:39
od nejento
Tak mi pošli config WorldGuardu do Code a Spoileru.

Re: Elíky

Napsal: 21 čer 2014, 18:10
od Johanka

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
    high-frequency-flags: false
    wand: 334
    max-claim-volume: 30000
    claim-only-inside-existing-regions: false
    max-region-count-per-player:
        default: 7
    explosion-flags-block-entity-damage: true
auto-invincible: false
use-player-move-event: 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: true
    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: true
    block-wither-explosions: false
    block-wither-block-damage: true
    block-wither-skull-explosions: false
    block-wither-skull-block-damage: true
    block-enderdragon-block-damage: false
    block-enderdragon-portal-creation: true
    block-fireball-explosions: false
    block-fireball-block-damage: true
    anti-wolf-dumbness: false
    disable-enderman-griefing: true
    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: []
    allow-tamed-spawns: true
    disable-snowman-trails: false
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
use-player-teleports: true

Re: Elíky

Napsal: 21 čer 2014, 20:19
od nejento
V řádku

Kód: Vybrat vše

block-potions: []
to uprav

Kód: Vybrat vše

block-potions: INVISIBILITY, INCREASE_DAMAGE

Re: Elíky

Napsal: 21 čer 2014, 20:35
od Ex_ur0n
Estě ty závorky taky ? [] a + estě streng II ..

Re: Elíky

Napsal: 21 čer 2014, 21:13
od nejento
Bez závorek a nevím, jestli tam ta dvojka bude fungovat. Kdyžtak můžeš zkusit INCREASE_DAMAGE_2, ale nevím, jestli to bude uplně fungovat
(jinak INCREASE_DAMAGE je Strength)