from spock.plugins.core import auth, event, net, ticker, timer
from spock.plugins.helpers import clientinfo, entities, interact, inventory,\
    keepalive, movement, physics, respawn, start, world

from spock.plugins.base import PluginBase  # noqa


core_plugins = [
    ('auth', auth.AuthPlugin),
    ('event', event.EventPlugin),
    ('net', net.NetPlugin),
    ('ticker', ticker.TickerPlugin),
    ('timers', timer.TimerPlugin),
]
helper_plugins = [
    ('clientinfo', clientinfo.ClientInfoPlugin),
    ('entities', entities.EntitiesPlugin),
    ('interact', interact.InteractPlugin),
    ('inventory', inventory.InventoryPlugin),
    ('keepalive', keepalive.KeepalivePlugin),
    ('movement', movement.MovementPlugin),
    ('physics', physics.PhysicsPlugin),
    ('respawn', respawn.RespawnPlugin),
    ('start', start.StartPlugin),
    ('world', world.WorldPlugin),
]
default_plugins = core_plugins + helper_plugins

from spock.plugins.core import auth, event, net, ticker, timer
from spock.plugins.helpers import chat, clientinfo, entities, interact, \
    inventory, keepalive, movement, physics, respawn, start, world
from spock.plugins.base import PluginBase  # noqa


core_plugins = [
    ('auth', auth.AuthPlugin),
    ('event', event.EventPlugin),
    ('net', net.NetPlugin),
    ('ticker', ticker.TickerPlugin),
    ('timers', timer.TimerPlugin),
]
helper_plugins = [
    ('chat', chat.ChatPlugin),
    ('clientinfo', clientinfo.ClientInfoPlugin),
    ('entities', entities.EntitiesPlugin),
    ('interact', interact.InteractPlugin),
    ('inventory', inventory.InventoryPlugin),
    ('keepalive', keepalive.KeepalivePlugin),
    ('movement', movement.MovementPlugin),
    ('physics', physics.PhysicsPlugin),
    ('respawn', respawn.RespawnPlugin),
    ('start', start.StartPlugin),
    ('world', world.WorldPlugin),
]
default_plugins = core_plugins + helper_plugins

Fix removal of chat plugin
Fix removal of chat plugin

  from spock.plugins.core import auth, event, net, ticker, timer
- from spock.plugins.helpers import clientinfo, entities, interact, inventory,\
+ from spock.plugins.helpers import chat, clientinfo, entities, interact, \
-     keepalive, movement, physics, respawn, start, world
+     inventory, keepalive, movement, physics, respawn, start, world
- 
  from spock.plugins.base import PluginBase  # noqa
  
  
  core_plugins = [
      ('auth', auth.AuthPlugin),
      ('event', event.EventPlugin),
      ('net', net.NetPlugin),
      ('ticker', ticker.TickerPlugin),
      ('timers', timer.TimerPlugin),
  ]
  helper_plugins = [
+     ('chat', chat.ChatPlugin),
      ('clientinfo', clientinfo.ClientInfoPlugin),
      ('entities', entities.EntitiesPlugin),
      ('interact', interact.InteractPlugin),
      ('inventory', inventory.InventoryPlugin),
      ('keepalive', keepalive.KeepalivePlugin),
      ('movement', movement.MovementPlugin),
      ('physics', physics.PhysicsPlugin),
      ('respawn', respawn.RespawnPlugin),
      ('start', start.StartPlugin),
      ('world', world.WorldPlugin),
  ]
  default_plugins = core_plugins + helper_plugins
  
Fix removal of chat plugin
## Code Before:
from spock.plugins.core import auth, event, net, ticker, timer
from spock.plugins.helpers import clientinfo, entities, interact, inventory,\
    keepalive, movement, physics, respawn, start, world

from spock.plugins.base import PluginBase  # noqa


core_plugins = [
    ('auth', auth.AuthPlugin),
    ('event', event.EventPlugin),
    ('net', net.NetPlugin),
    ('ticker', ticker.TickerPlugin),
    ('timers', timer.TimerPlugin),
]
helper_plugins = [
    ('clientinfo', clientinfo.ClientInfoPlugin),
    ('entities', entities.EntitiesPlugin),
    ('interact', interact.InteractPlugin),
    ('inventory', inventory.InventoryPlugin),
    ('keepalive', keepalive.KeepalivePlugin),
    ('movement', movement.MovementPlugin),
    ('physics', physics.PhysicsPlugin),
    ('respawn', respawn.RespawnPlugin),
    ('start', start.StartPlugin),
    ('world', world.WorldPlugin),
]
default_plugins = core_plugins + helper_plugins

## Instruction:
Fix removal of chat plugin
## Code After:
from spock.plugins.core import auth, event, net, ticker, timer
from spock.plugins.helpers import chat, clientinfo, entities, interact, \
    inventory, keepalive, movement, physics, respawn, start, world
from spock.plugins.base import PluginBase  # noqa


core_plugins = [
    ('auth', auth.AuthPlugin),
    ('event', event.EventPlugin),
    ('net', net.NetPlugin),
    ('ticker', ticker.TickerPlugin),
    ('timers', timer.TimerPlugin),
]
helper_plugins = [
    ('chat', chat.ChatPlugin),
    ('clientinfo', clientinfo.ClientInfoPlugin),
    ('entities', entities.EntitiesPlugin),
    ('interact', interact.InteractPlugin),
    ('inventory', inventory.InventoryPlugin),
    ('keepalive', keepalive.KeepalivePlugin),
    ('movement', movement.MovementPlugin),
    ('physics', physics.PhysicsPlugin),
    ('respawn', respawn.RespawnPlugin),
    ('start', start.StartPlugin),
    ('world', world.WorldPlugin),
]
default_plugins = core_plugins + helper_plugins
