Хостинг серверов Minecraft playvds.com
  1. Вы находитесь в русском сообществе Bukkit. Мы - администраторы серверов Minecraft, разрабатываем собственные плагины и переводим на русский язык плагины наших собратьев из других стран.
    Dismiss Notice

Помогите Как добавить новые блоки в LWC?

Discussion in '[Архив] Помощь' started by chiter777, Sep 7, 2013.

Thread Status:
Not open for further replies.
  1. Автор темы
    chiter777

    chiter777 Старожил Пользователь

    Trophy Points:
    103
    Skype:
    m.baazaar12
    Имя в Minecraft:
    baazaar12
    Нужно добавить блоки из модов в приват плагина LWC!
     
  2. Хостинг MineCraft
    <
  3. dirt34

    dirt34 Старожил Пользователь

    Trophy Points:
    143
    Skype:
    alucid2
    Имя в Minecraft:
    dirt34
    Заходишь в папку плагина ищешь файл core.yml. Пролистываешь вниз до строчки:
    trapped_chest:
    autoRegister: private
    enabled: true
    После этой строчки пишешь вот так:
    trapped_chest:
    autoRegister: private
    enabled: true
    '225':
    enabled: true
    autoRegister: private
    '227':
    enabled: true
    autoRegister: private
    Айди блоков обязательно в кавычках.
     
  4. Автор темы
    chiter777

    chiter777 Старожил Пользователь

    Trophy Points:
    103
    Skype:
    m.baazaar12
    Имя в Minecraft:
    baazaar12
    Нету этой строчки! Вот:
    Code:
    # Core configurable options for LWC
    core:
     
        # The language LWC will use, specified by the shortname. For example, English = en, French = fr, German = de,
        # and so on
        locale: en
     
        # How often updates are batched to the database (in seconds). If set to a higher value than 10, you may have
        # some unexpected results, especially if your server is prone to crashing.
        flushInterval: 10
     
        # LWC regularly caches protections locally to prevent the database from being queried as often. The default is 10000
        # and for most servers is OK. LWC will also fill up to <precache> when the server is started automatically.
        cacheSize: 10000
     
        # How many protections are precached on startup. If set to -1, it will use the cacheSize value instead and precache
        # as much as possible
        precache: -1
     
        # If true, players will be sent a notice in their chat box when they open a protection they have access to, but
        # not their own unless <showMyNotices> is set to true
        showNotices: true
     
        # If true, players will be sent a notice in their chat box when they open a protection they own.
        showMyNotices: false
     
        # If true, ops will be considered LWC admins (e.g with a Permissions plugin, considered to have lwc.admin) and thus
        # will have very destructive LWC commands.
        opIsLWCAdmin: true
     
        # If true, LWC will not log history about protections. If you are using LWC-Economy and this is disabled, you will
        # NOT receive refunds for purchased protections
        disableHistory: false
     
        # if true, LWC will only allow protections to be created inside of Towns via the Towny plugin
        townyBorders: false
     
        # The permission node prefix that is used to match player groups when
        # no supported permission plugin is found, e.g group.vip matches the player's group as vip
        groupPrefix: 'group.'
     
    # Controls how the updater operates
    updater:
     
        # The branch to select updates from
        # STABLE or BLEEDING_EDGE
        branch: STABLE
     
        # When to retrieve updates
        # Either AUTOMATIC or MANUAL
        method: MANUAL
     
    # "Fun" options
    optional:
     
        # Protections are only active when a player is online.
        # So if a player is offline, anyone can access it. If the player is online, it functions normally
        onlyProtectWhenOwnerIsOnline: false
     
        # Protections are only active when a player is offline
        onlyProtectWhenOwnerIsOffline: false
     
        # Block IDs to automatically blocks from /lwc admin purge, /lwc admin expire, etc.
        exemptBlocks: []
     
        # Opt out of the optional metrics tooling
        # Available online: http://metrics.griefcraft.com/plugin/LWC/
        optOut: false
     
        # Blocks that cannot be placed around someone else's protection. This is most useful
        blacklistedBlocks:
        - 166
     
        # Players that are blocked from destroying any blocks protected by LWC. Mainly useful for MCPC
        # where mods can remove blocks and try to break the block by sending an event first (e.g turtle)
        blacklistedPlayers:
        - plr
     
    # Database information for LWC
    database:
     
        # The database adapter to use, for example sqlite (default) or mysql
        adapter: sqlite
     
        # This is strictly for SQLite only and should be left alone. When changing to MySQL and this is left intact,
        # LWC will automatically convert your protections from SQLite to MySQL
        path: 'plugins/LWC/lwc.db'
     
        # The MySQL host. You can specify a non-default port (3306) by adding :port, e.g host: 'localhost:3307'
        host: 'localhost'
     
        # The database LWC should use to store data (not necessary for SQLite)
        database: 'lwc'
     
        # The username LWC should use to connect to the server with (not necessary for SQLite)
        username: ''
     
        # The password LWC should use to connect to the server with (not necessary for SQLite)
        password: ''
     
        # The prefix for LWC tables. For example, a prefix of 'lwc_' will make
        # the protections table show up as lwc_protections
        prefix: 'lwc_'
     
    # The protections nodes allows you to define, remove and modify which blocks LWC is allowed to protect
    # This means that you could make any block you want protectable, or remove existing protectable blocks
    # (e.g trap doors, etc.)
    protections:
        # These values serve as default values for the protections defined under blocks
     
        # If true, the default behaviour will be to BLOCK redstone to protections, and /credstone on (Protection Flag)
        # will ALLOW redstone to the protection
        # If false, the default behaviour will be to ALLOW redstone to protections, and /credstone on will
        # BLOCK redstone to the protection
        denyRedstone: false
     
        # Settable to private, public, or off. It defines what protections are registered as when you place them on
        # the ground
        autoRegister: off
     
        # Used in very specific use-cases: makes LWC ignore block destruction for the given block or all blocks, allowing
        # players to remove the block and resulting protection.
        ignoreBlockDestruction: false
     
        # If left clicking should be ignored by LWC. An example of this would be to add ignoreLeftClick under a note block
        # protection to allow players to play the note block's note, but not change the note (which is done via right click,
        # which would be blocked by LWC.)
        ignoreLeftClick: false
     
        # If right clicking should be ignored by LWC.
        ignoreRightClick: false
     
        # If LWC should ignore explosions to the protection. For example, you could allow Doors to be blown by explosions,
        # but not chests.
        ignoreExplosions: false
     
        # If entities - such as zombies - are allowed to break down doors
        allowEntityBreakDoor: false
     
        # If entities - such as villagers - should be allowed to interact with protections (i.e doors)
        allowEntityInteract: false
     
        # Creation messages and protection notices will not be shown for this protection
        quiet: false
     
        # Current and custom protections are defined here by their block name or id
        # If you use the Id, you MUST encase it in quotes, for example (chest):
        # '54':
        #    enabled: true
        # The custom protection must also have enabled: true under it for it to function in the world
        blocks:
            chest:
                enabled: true
                autoRegister: private
            furnace:
                enabled: true
                autoRegister: private
            dispenser:
                enabled: true
                autoRegister: private
            sign:
                enabled: true
                autoRegister: private
            wooden_door:
                enabled: true
            iron_door:
                enabled: true
            trap_door:
                enabled: true
            fence_gate:
                enabled: true
     
    modes:
        droptransfer:
            enabled: true
     
            # allow items to be transferred across world boundaries
            crossWorld: false
        persist:
            enabled: true
    
     
  5. dirt34

    dirt34 Старожил Пользователь

    Trophy Points:
    143
    Skype:
    alucid2
    Имя в Minecraft:
    dirt34


    то что ты скинул 70-я строчка
     
  6. Автор темы
    chiter777

    chiter777 Старожил Пользователь

    Trophy Points:
    103
    Skype:
    m.baazaar12
    Имя в Minecraft:
    baazaar12
    Ну туда просто ip вписывать или то, что ты написал?:
    Code:
    trapped_chest:
    autoRegister: private
    enabled: true
    '225':
    enabled: true
    autoRegister: private
    '227':
    enabled: true
    autoRegister: private
     
    Сникерсни likes this.
  7. dirt34

    dirt34 Старожил Пользователь

    Trophy Points:
    143
    Skype:
    alucid2
    Имя в Minecraft:
    dirt34


    Видишь 2 айпи 227 225. вместо них пишешь свои но в кавычках как у меня потом копируешь вставляешь и пишешь дальше айди
     
  8. Автор темы
    chiter777

    chiter777 Старожил Пользователь

    Trophy Points:
    103
    Skype:
    m.baazaar12
    Имя в Minecraft:
    baazaar12
    ну это в после 70 строчки вставлять?
     
  9. dirt34

    dirt34 Старожил Пользователь

    Trophy Points:
    143
    Skype:
    alucid2
    Имя в Minecraft:
    dirt34

    кароч замени у себя эти строчки и настрой айди под себя. Изменяй ток цыфры с скобками
     

    Attached Files:

  10. Автор темы
    chiter777

    chiter777 Старожил Пользователь

    Trophy Points:
    103
    Skype:
    m.baazaar12
    Имя в Minecraft:
    baazaar12
    Ну вот вставил и ниче не приватится
    Code:
      blocks:
            chest:
                enabled: true
                autoRegister: private
            furnace:
                enabled: true
                autoRegister: private
            dispenser:
                enabled: true
                autoRegister: private
            sign:
                enabled: true
                autoRegister: private
            wooden_door:
                enabled: true
            iron_door:
                enabled: true
            trap_door:
                enabled: true
            fence_gate:
                enabled: true
            trapped_chest:
                autoRegister: private
                enabled: true
                '225':
                autoRegister: private
                enabled: true
                '227':
                autoRegister: private
                enabled: true
                '166':
                autoRegister: private
                enabled: true
                '194':
                autoRegister: private
                enabled: true
                '246':
                autoRegister: private
                enabled: true
                '250':
                autoRegister: private
                enabled: true
                '1405':
                autoRegister: private
                enabled: true
                '975':
                autoRegister: private
                enabled: true
                '4094':
                autoRegister: private
                enabled: true
                '1510':
                autoRegister: private
                enabled: true
                '1502':
                autoRegister: private
                enabled: true
                '751':
                autoRegister: private
                enabled: true
                '1406':
     
  11. Dereku

    Dereku Старожил

    Trophy Points:
    173
    Skype:
    derek_unavailable
    Имя в Minecraft:
    _Dereku
    @chiter777, нубло, ты хоть синтаксис и древа соблюдай. Я бы на месте LWC тебя [md5]cee22c24669623c79a437a503fecf3dd[/md5] послал и убил бы сервер.
     
  12. Dereku

    Dereku Старожил

    Trophy Points:
    173
    Skype:
    derek_unavailable
    Имя в Minecraft:
    _Dereku
    Тогда зачем тебе сервер, если ты не можешь ничего понять в YAML?
     
  13. Автор темы
    chiter777

    chiter777 Старожил Пользователь

    Trophy Points:
    103
    Skype:
    m.baazaar12
    Имя в Minecraft:
    baazaar12
    ну до этого lwc я везде все понимал. тут все по другому! какие-то подписи от автора все перепаутано
     
  14. Dereku

    Dereku Старожил

    Trophy Points:
    173
    Skype:
    derek_unavailable
    Имя в Minecraft:
    _Dereku
    Что-то мешает удалить комментарии?
     
  15. dirt34

    dirt34 Старожил Пользователь

    Trophy Points:
    143
    Skype:
    alucid2
    Имя в Minecraft:
    dirt34
    Ты мой конфиг скачал? Ты его видел? как у меня настроено?
     
  16. Автор темы
    chiter777

    chiter777 Старожил Пользователь

    Trophy Points:
    103
    Skype:
    m.baazaar12
    Имя в Minecraft:
    baazaar12
    даааааааааа. я из него все вставил!
     
  17. dirt34

    dirt34 Старожил Пользователь

    Trophy Points:
    143
    Skype:
    alucid2
    Имя в Minecraft:
    dirt34


    как видишь не так вставил
     
    Сникерсни likes this.
  18. Автор темы
    chiter777

    chiter777 Старожил Пользователь

    Trophy Points:
    103
    Skype:
    m.baazaar12
    Имя в Minecraft:
    baazaar12
    Надеюсь так првильно
    Code:
    core:
        locale: en
        flushInterval: 10
        cacheSize: 10000
        precache: -1
        showNotices: true
        showMyNotices: false
        opIsLWCAdmin: true
        disableHistory: false
        townyBorders: false
        groupPrefix: group.
        updateNotifier: true
    optional:
        onlyProtectWhenOwnerIsOnline: false
        onlyProtectWhenOwnerIsOffline: false
        exemptBlocks: []
        optOut: false
        blacklistedBlocks:
        - 166
        blacklistedPlayers:
        - plr
    database:
        adapter: sqlite
        path: plugins/LWC/lwc.db
        host: localhost
        database: lwc
        username: ''
        password: ''
        prefix: lwc_
    protections:
        denyRedstone: false
        autoRegister: true
        ignoreBlockDestruction: false
        ignoreLeftClick: false
        ignoreRightClick: false
        ignoreExplosions: false
        allowEntityBreakDoor: false
        allowEntityInteract: false
        quiet: false
        blocks:
            chest:
                enabled: true
                autoRegister: private
            furnace:
                enabled: true
                autoRegister: private
            dispenser:
                enabled: true
                autoRegister: private
            sign:
                enabled: true
                autoRegister: private
            wooden_door:
                autoRegister: private
                enabled: true
            iron_door:
                autoRegister: private
                enabled: true
            trap_door:
                autoRegister: private
                enabled: true
            fence_gate:
                autoRegister: private
                enabled: true
            trapped_chest:
                autoRegister: private
                enabled: true
                '225':
                enabled: true
                autoRegister: private
                '227':
                enabled: true
                autoRegister: private
                '246':
                enabled: true
                autoRegister: private
                '250':
                enabled: true
                autoRegister: private
                '1502':
                autoRegister: private
                enabled: true
                '1505':
                autoRegister: private
                enabled: true
                '1507':
                autoRegister: private
                enabled: true
                '1510':
                autoRegister: private
                enabled: true
                '1512':
                autoRegister: private
                enabled: true
                '1514':
                enabled: true
                autoRegister: private
                '1517':
                enabled: true
                autoRegister: private
                '1519':
                enabled: true
                autoRegister: private
                '1523':
                enabled: true
                autoRegister: private
                '14256':
                autoRegister: private
                enabled: true
                '19367':
                autoRegister: private
                enabled: true
                '19421':
                autoRegister: private
                enabled: true
                '19423':
                autoRegister: private
                enabled: true
                '19396':
                autoRegister: private
                enabled: true
                '1395':
                autoRegister: private
                enabled: true
                '1404':
                enabled: true
                autoRegister: private
                '1405':
                enabled: true
                autoRegister: private
                '1406':
                enabled: true
                autoRegister: private
                '1407':
                enabled: true
                autoRegister: private
                '1409':
                autoRegister: private
                enabled: true
                '1382':
                autoRegister: private
                enabled: true
                '1408':
                autoRegister: private
                enabled: true
                '1377':
                autoRegister: private
                enabled: true
                '1376':
                autoRegister: private
                enabled: true
                '900':
                autoRegister: private
                enabled: true
                '901':
                autoRegister: private
                enabled: true
                '902':
                autoRegister: private
                enabled: true
                '903':
                autoRegister: private
                enabled: true
                '3611':
                autoRegister: private
                enabled: true
                '3614':
                enabled: true
                autoRegister: private
                '2172':
                enabled: true
                autoRegister: private
                '2173':
                enabled: true
                autoRegister: private
                '2174':
                enabled: true
                autoRegister: private
                '2179':
                autoRegister: private
                enabled: true
    modes:
        droptransfer:
            enabled: true
            crossWorld: false
        persist:
            enabled: true
    
     
  19. dirt34

    dirt34 Старожил Пользователь

    Trophy Points:
    143
    Skype:
    alucid2
    Имя в Minecraft:
    dirt34


    НЕТ!!!!у тебя айди(цифры) должны быть строго под сундуками табличками и прочим
     
    chiter777 likes this.
Thread Status:
Not open for further replies.

Share This Page